[Lldb-commits] [lldb] r150285 - /lldb/trunk/source/Commands/CommandObjectTarget.cpp
Sean Callanan
scallanan at apple.com
Fri Feb 10 16:24:04 PST 2012
Author: spyffe
Date: Fri Feb 10 18:24:04 2012
New Revision: 150285
URL: http://llvm.org/viewvc/llvm-project?rev=150285&view=rev
Log:
Make the output from "target modules lookup -n"
prettier.
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=150285&r1=150284&r2=150285&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Fri Feb 10 18:24:04 2012
@@ -1485,12 +1485,21 @@
strm.PutCString(" in ");
}
}
+
+ AddressRange range;
+
+ sc.GetAddressRange(eSymbolContextEverything,
+ 0,
+ true,
+ range);
+
sc.DumpStopContext(&strm,
exe_scope,
- sc.line_entry.range.GetBaseAddress(),
+ range.GetBaseAddress(),
true,
true,
false);
+
strm.EOL();
if (verbose)
{
More information about the lldb-commits
mailing list