[Lldb-commits] [lldb] r181475 - Now that you can "command script import" packages, the docs should reflect the best practice

Enrico Granata egranata at apple.com
Wed May 8 14:39:19 PDT 2013


Author: enrico
Date: Wed May  8 16:39:19 2013
New Revision: 181475

URL: http://llvm.org/viewvc/llvm-project?rev=181475&view=rev
Log:
Now that you can "command script import" packages, the docs should reflect the best practice


Modified:
    lldb/trunk/www/lldb-gdb.html
    lldb/trunk/www/symbolication.html

Modified: lldb/trunk/www/lldb-gdb.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/lldb-gdb.html?rev=181475&r1=181474&r2=181475&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Wed May  8 16:39:19 2013
@@ -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>

Modified: lldb/trunk/www/symbolication.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/symbolication.html?rev=181475&r1=181474&r2=181475&view=diff
==============================================================================
--- lldb/trunk/www/symbolication.html (original)
+++ lldb/trunk/www/symbolication.html Wed May  8 16:39:19 2013
@@ -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
 ...





More information about the lldb-commits mailing list