diff options
author | Enrico Granata <egranata@apple.com> | 2013-05-08 21:39:19 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2013-05-08 21:39:19 +0000 |
commit | 068c11096abad36e5e2f501d9687506f30c3169c (patch) | |
tree | a156e5d20c3977f443925f6b5a1f51999cdbd246 | |
parent | 610f9260fa07436fbefbfcbfa71d6bd721122ea6 (diff) | |
download | bcm5719-llvm-068c11096abad36e5e2f501d9687506f30c3169c.tar.gz bcm5719-llvm-068c11096abad36e5e2f501d9687506f30c3169c.zip |
Now that you can "command script import" packages, the docs should reflect the best practice
llvm-svn: 181475
-rwxr-xr-x | lldb/www/lldb-gdb.html | 8 | ||||
-rwxr-xr-x | lldb/www/symbolication.html | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lldb/www/lldb-gdb.html b/lldb/www/lldb-gdb.html index 8e58a9a822f..7e8a1185137 100755 --- a/lldb/www/lldb-gdb.html +++ b/lldb/www/lldb-gdb.html @@ -942,7 +942,7 @@ <b>(gdb)</b> info malloc 0x10010d680 </td> <td class="content"> - <b>(lldb)</b> script import lldb.macosx.heap<br> + <b>(lldb)</b> command script import lldb.macosx.heap<br> <b>(lldb)</b> process launch --environment MallocStackLogging=1 -- [ARGS]<br> <b>(lldb)</b> malloc_info --stack-history 0x10010d680<br> </td> @@ -952,7 +952,7 @@ <td class="content"> </td> <td class="content"> - <b>(lldb)</b> script import lldb.macosx.heap<br> + <b>(lldb)</b> command script import lldb.macosx.heap<br> <b>(lldb)</b> malloc_info --type 0x10010d680<br> </td> </tr> @@ -961,7 +961,7 @@ <td class="content"> </td> <td class="content"> - <b>(lldb)</b> script import lldb.macosx.heap<br> + <b>(lldb)</b> command script import lldb.macosx.heap<br> <b>(lldb)</b> ptr_refs EXPR <br> </td> </tr> @@ -970,7 +970,7 @@ <td class="content"> </td> <td class="content"> - <b>(lldb)</b> script import lldb.macosx.heap<br> + <b>(lldb)</b> command script import lldb.macosx.heap<br> <b>(lldb)</b> cstr_refs CSTRING<br> </td> </tr> diff --git a/lldb/www/symbolication.html b/lldb/www/symbolication.html index 66c5db9d9fe..877c1f10bd4 100755 --- a/lldb/www/symbolication.html +++ b/lldb/www/symbolication.html @@ -108,9 +108,9 @@ </tt></pre></code>
<p>It is often much easier to specify the actual load location of each section by name.
Crash logs on Mac OS X have a <b>Binary Images</b> section that specifies
- that address of the __TEXT segment for each binary. Specifying a slide requires - requires that you first find the original (<b>file</b>) 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 (<b>file</b>) address for the __TEXT
+ segment, and subtract the two values.
If you specify the
address of the __TEXT segment with "target modules load <i>section</i> <i>address</i>", 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: <p>
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:</p>
-<code><pre><tt><b>(lldb)</b> script import lldb.macosx.crashlog
+<code><pre><tt><b>(lldb)</b> command script import lldb.macosx.crashlog
"crashlog" and "save_crashlog" command installed, use the "--help" option for detailed help
<b>(lldb)</b> crashlog /tmp/crash.log
...
|