aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-07-11 14:04:23 +0000
committerHui Zhu <teawater@gmail.com>2009-07-11 14:04:23 +0000
commite6158f167b537a7aa325e0b556fa079837e89c80 (patch)
tree79a99e24684113dfa8623efbd68a8ecd1ef4800a /gdb/NEWS
parent0fa4d7cf2d7ccdd0776d37ab88e87afeecddc2e5 (diff)
downloadgdb-e6158f167b537a7aa325e0b556fa079837e89c80.zip
gdb-e6158f167b537a7aa325e0b556fa079837e89c80.tar.gz
gdb-e6158f167b537a7aa325e0b556fa079837e89c80.tar.bz2
2009-07-11 Hui Zhu <teawater@gmail.com>
* cli/cli-cmds.c (disassemble_command): Add a new modifier /r to "disassemble" command to print the raw instructions in hex as well as in symbolic form. (init_cli_cmds): Ditto. (print_disassembly): Change "mixed" to "flags" to translate the behavior of disassemble. (disassemble_current_function): Ditto. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto. * stack.c (gdb_disassembly_stub): Ditto. * disasm.c (do_mixed_source_and_assembly): Ditto. (do_mixed_source_and_assembly): Ditto. (do_assembly_only): Ditto. (gdb_disassembly): Ditto. (dump_insns): print the raw instructions in hex as well as in symbolic form if DISASSEMBLY_RAW_INSN and flags is true. * disasm.h (DISASSEMBLY_SOURCE): Include source code with the assembly if it and flags is true. (DISASSEMBLY_RAW_INSN): Include the raw instructions in hex with the assembly if it and flags is true. (gdb_disassembly): Update extern. * NEWS: Document disassemble/r support.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 68776a5..b444f74 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,9 @@
*** Changes since GDB 6.8
+* "disassemble" command with a /r modifier, print the raw instructions
+in hex as well as in symbolic form."
+
* Process record and replay
In a architecture environment that supports ``process record and