diff --git a/lldb/www/lldb-gdb.html b/lldb/www/lldb-gdb.html index 8e58a9a822fc..7e8a11851371 100755 --- a/lldb/www/lldb-gdb.html +++ b/lldb/www/lldb-gdb.html @@ -942,7 +942,7 @@ (gdb) info malloc 0x10010d680 - (lldb) script import lldb.macosx.heap
+ (lldb) command script import lldb.macosx.heap
(lldb) process launch --environment MallocStackLogging=1 -- [ARGS]
(lldb) malloc_info --stack-history 0x10010d680
@@ -952,7 +952,7 @@ - (lldb) script import lldb.macosx.heap
+ (lldb) command script import lldb.macosx.heap
(lldb) malloc_info --type 0x10010d680
@@ -961,7 +961,7 @@ - (lldb) script import lldb.macosx.heap
+ (lldb) command script import lldb.macosx.heap
(lldb) ptr_refs EXPR
@@ -970,7 +970,7 @@ - (lldb) script import lldb.macosx.heap
+ (lldb) command script import lldb.macosx.heap
(lldb) cstr_refs CSTRING
diff --git a/lldb/www/symbolication.html b/lldb/www/symbolication.html index 66c5db9d9fe5..877c1f10bd49 100755 --- a/lldb/www/symbolication.html +++ b/lldb/www/symbolication.html @@ -108,9 +108,9 @@

It is often much easier to specify the actual load location of each section by name. Crash logs on Mac OS X have a Binary Images section that specifies - that address of the __TEXT segment for each binary. Specifying a slide requires - requires that you first find the original (file) address for the __TEXT - segment, and subtract the two values. + that address of the __TEXT segment for each binary. Specifying a slide requires + requires that you first find the original (file) address for the __TEXT + segment, and subtract the two values. If you specify the address of the __TEXT segment with "target modules load section address", you don't need to do any calculations. To specify the load addresses of sections we can specify one or more section name + address pairs @@ -298,7 +298,7 @@ if target:

This module installs a new "crashlog" command into the lldb command interpreter so that you can use it to parse and symbolicate Mac OS X crash logs:

-
(lldb) script import lldb.macosx.crashlog
+
(lldb) command script import lldb.macosx.crashlog
 "crashlog" and "save_crashlog" command installed, use the "--help" option for detailed help
 (lldb) crashlog /tmp/crash.log
 ...