aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2011-01-12 15:02:12 +0000
committerAndrew Burgess <aburgess@broadcom.com>2011-01-12 15:02:12 +0000
commitb716877b54891ba162293f5ec6b6cd222f711e4d (patch)
tree3ff206d4d5431c44ee4327eeac78a40d2567248f /gdb/doc
parent13fd8b81f0460839d154c769d8ef004f41b29c55 (diff)
downloadgdb-b716877b54891ba162293f5ec6b6cd222f711e4d.zip
gdb-b716877b54891ba162293f5ec6b6cd222f711e4d.tar.gz
gdb-b716877b54891ba162293f5ec6b6cd222f711e4d.tar.bz2
http://sourceware.org/ml/gdb-patches/2010-12/msg00299.html
gdb/ * disasm.c (dump_insns): Support dumping opcodes for MI. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control dumping of instruction opcodes. gdb/doc/ * gdb.texinfo (GDB/MI Data Manipulation): Update to reflect changes in mi/mi-cmd-disas.c gdb/testsuite/ * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update expected output to reflect changes in gdb/mi/mi-cmd-disas.c and add new tests for opcode dumping.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 9529a4a..8863d0e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-12 Andrew Burgess <aburgess@broadcom.com>
+
+ * gdb.texinfo (GDB/MI Data Manipulation): Update to reflect
+ changes in mi/mi-cmd-disas.c
+
2011-01-12 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Threads): Remove duplicate text. Update examples.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index b86e8d2..d48d95c 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -27621,8 +27621,9 @@ displayed; if @var{lines} is higher than the number of lines between
@var{start-addr} and @var{end-addr}, only the lines up to @var{end-addr}
are displayed.
@item @var{mode}
-is either 0 (meaning only disassembly) or 1 (meaning mixed source and
-disassembly).
+is either 0 (meaning only disassembly), 1 (meaning mixed source and
+disassembly), 2 (meaning disassembly with raw opcodes), or 3 (meaning
+mixed source and disassembly with raw opcodes).
@end table
@subsubheading Result