Added a few trivial mods.

llvm-svn: 133084
This commit is contained in:
Jim Ingham 2011-06-15 21:01:30 +00:00
parent ab20567227
commit 57f29f8014
1 changed files with 18 additions and 1 deletions

View File

@ -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">