[Lldb-commits] [lldb] r140357 - /lldb/trunk/source/Commands/CommandObjectTarget.cpp

Jason Molenda jmolenda at apple.com
Thu Sep 22 17:27:44 PDT 2011


Author: jmolenda
Date: Thu Sep 22 19:27:44 2011
New Revision: 140357

URL: http://llvm.org/viewvc/llvm-project?rev=140357&view=rev
Log:
LookupAddressInModule: Remove a couple of the extra
newlines output at the end of 'image lookup' / 'image lookup -v'.

Modified:
    lldb/trunk/source/Commands/CommandObjectTarget.cpp

Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTarget.cpp?rev=140357&r1=140356&r2=140357&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Thu Sep 22 19:27:44 2011
@@ -1337,12 +1337,10 @@
         strm.SetIndentLevel (save_indent + 11);
         so_addr.Dump (&strm, exe_scope, Address::DumpStyleResolvedDescription);
         strm.SetIndentLevel (save_indent);
-        strm.EOL();
         // Print out detailed address information when verbose is enabled
         if (verbose)
         {
-            if (so_addr.Dump (&strm, exe_scope, Address::DumpStyleDetailedSymbolContext))
-                strm.EOL();
+            so_addr.Dump (&strm, exe_scope, Address::DumpStyleDetailedSymbolContext);
         }
         strm.IndentLess();
         return true;





More information about the lldb-commits mailing list