From ebeccdf0b8be6670a0de68318fcb838c638c1e58 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 22 Sep 1992 07:46:14 +0000 Subject: [PATCH] * mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break' instruction's argument. Patch from jonathan@cs.stanford.edu (Jonathan Stone). --- gdb/ChangeLog | 6 ++++++ gdb/mips-pinsn.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 84c17c2..2ed241c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Tue Sep 22 00:43:51 1992 John Gilmore (gnu@cygnus.com) + + * mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break' + instruction's argument. Patch from jonathan@cs.stanford.edu + (Jonathan Stone). + Mon Sep 21 18:16:30 1992 K. Richard Pixley (rich@sendai.cygnus.com) Break the thread of control that implies that a unix child diff --git a/gdb/mips-pinsn.c b/gdb/mips-pinsn.c index 993541f..ca0e825 100644 --- a/gdb/mips-pinsn.c +++ b/gdb/mips-pinsn.c @@ -79,6 +79,10 @@ print_insn_arg (d, l, stream, pc) fprintf (stream, "0x%x", ((struct op_r_fmt *) l)->shamt); break; + case 'B': + fprintf (stream, "0x%x", ((struct op_brk_fmt *) l)->code); + break; + case 'S': fprintf (stream, "$f%d", ((struct fop_r_fmt *) l)->fs); break; -- 2.7.4