Now that you can "command script import" packages, the docs should reflect the best practice
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181475 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/www/lldb-gdb.html b/www/lldb-gdb.html
index 8e58a9a..7e8a118 100755
--- a/www/lldb-gdb.html
+++ b/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/www/symbolication.html b/www/symbolication.html
index 66c5db9..877c1f1 100755
--- a/www/symbolication.html
+++ b/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 @@
<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
...