[Lldb-commits] [lldb] r133084 - /lldb/trunk/www/lldb-gdb.html

Jim Ingham jingham at apple.com
Wed Jun 15 14:01:30 PDT 2011


Author: jingham
Date: Wed Jun 15 16:01:30 2011
New Revision: 133084

URL: http://llvm.org/viewvc/llvm-project?rev=133084&view=rev
Log:
Added a few trivial mods.

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

Modified: lldb/trunk/www/lldb-gdb.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/lldb-gdb.html?rev=133084&r1=133083&r2=133084&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Wed Jun 15 16:01:30 2011
@@ -337,10 +337,16 @@
 
                     <tr><td class="header" colspan="2">Read 512 bytes of memory from address 0xbffff3c0 and save results to a local file as <b>text</b>.</td></tr>
                     <tr>
-                        <td class="content" colspan=2>
+                        <td class="content">
                             <b>(lldb)</b> memory read --outfile /tmp/mem.txt --count 512 0xbffff3c0<br>
                             <b>(lldb)</b> memory read -o/tmp/mem.txt -c512 0xbffff3c0<br>
                         </td>
+                        <td class="content">
+                          <b>(gdb)</b> set logging on<br>
+                          <b>(gdb)</b> set logging file /tmp/mem.txt<br>
+                          <b>(gdb)</b> x/512bx 0xbffff3c0<br>
+                          <b>(gdb)</b> set logging off<br>
+                        </td>
                     </tr>
 
                     <tr><td class="header" colspan="2">Save binary memory data starting at 0x1000 and ending at 0x2000 to a file.</td></tr>
@@ -384,6 +390,17 @@
                         </td>
                     </tr>
 
+                    <tr><td class="header" colspan="2">Disassemble 20 instructions from a given address.</td></tr>
+                    <tr>
+                        <td class="content">
+                            <b>(lldb)</b> disassemble --start-address  0x1eb8 --count 20<br>
+                            <b>(lldb)</b> disassemble -s 0x1eb8 -c 20<br>
+                        </td>
+                        <td class="content">
+                            <b>(gdb)</b> x/20i 0x1eb8
+                        </td>
+                    </tr>
+
                     <tr><td class="header" colspan="2">Show mixed source and disassembly for the current function for the current frame.</td></tr>
                     <tr>
                         <td class="content">





More information about the lldb-commits mailing list