gdb/:
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 21 Jun 2007 15:18:51 +0000 (15:18 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Thu, 21 Jun 2007 15:18:51 +0000 (15:18 +0000)
commita4642986412fbd22873bf4f64e4d3ee7c5aeabac
treec8fe96b2363a3a8d803409dd965e8094f154958d
parentade28716408576549d6f1998d6baf0d2c5c74b91
gdb/:
* disasm.c (gdb_print_insn): Return the number of branch delay
slot instructions too.
* disasm.h (gdb_print_insn): Update prototype.
* printcmd.c (branch_delay_insns): New variable to record the
number of delay slot instructions after disassembling a branch.
(print_formatted): Record the number of branch delay slot
instructions.
(do_examine): When disassembling, if the last instruction
disassembled has any branch delay slots, then bump the count so
that they get disassembled too.
* tui/tui-disasm.c (tui_disassemble): Update the call to
gdb_print_insn().
* NEWS: Document the new behaviour.

gdb/doc/:
* gdb.texinfo (Examining Memory): Document the new behaviour.

gdb/gdbtk/:
* generic/gdbtk-cmds.c (gdbtk_load_asm): Update the call to
gdb_print_insn().
gdb/ChangeLog
gdb/NEWS
gdb/disasm.c
gdb/disasm.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/printcmd.c
gdb/tui/tui-disasm.c