aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-07-11 14:09:16 +0000
committerHui Zhu <teawater@gmail.com>2009-07-11 14:09:16 +0000
commit9b117ef31f948113d6fe5d8830113a37d91a5403 (patch)
tree1453d098e5972c2117f66d5a4f2b6c3c20609524 /gdb/doc
parente6158f167b537a7aa325e0b556fa079837e89c80 (diff)
downloadgdb-9b117ef31f948113d6fe5d8830113a37d91a5403.zip
gdb-9b117ef31f948113d6fe5d8830113a37d91a5403.tar.gz
gdb-9b117ef31f948113d6fe5d8830113a37d91a5403.tar.bz2
2009-07-11 Hui Zhu <teawater@gmail.com>
* gdb.texinfo (disassemble): Add a new modifier /r to "disassemble" command to make it print the raw instructions in hex as well as in symbolic form.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6842ec3..cea168c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2009-07-11 Hui Zhu <teawater@gmail.com>
+
+ * gdb.texinfo (disassemble): Add a new modifier /r
+ to "disassemble" command to make it print the raw instructions
+ in hex as well as in symbolic form.
+
2009-07-09 Tom Tromey <tromey@redhat.com>
* gdbint.texinfo (Testsuite): Document parallel make check.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 0a59f98..fc5e60f 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -6178,9 +6178,11 @@ Variables}).
@cindex listing machine instructions
@item disassemble
@itemx disassemble /m
+@itemx disassemble /r
This specialized command dumps a range of memory as machine
instructions. It can also print mixed source+disassembly by specifying
-the @code{/m} modifier.
+the @code{/m} modifier and print the raw instructions in hex as well as
+in symbolic form by specifying the @code{/r}.
The default memory range is the function surrounding the
program counter of the selected frame. A single argument to this
command is a program counter value; @value{GDBN} dumps the function