From: John Gilmore Date: Tue, 22 Sep 1992 07:46:14 +0000 (+0000) Subject: * mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebeccdf0b8be6670a0de68318fcb838c638c1e58;p=binutils-gdb.git * mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break' instruction's argument. Patch from jonathan@cs.stanford.edu (Jonathan Stone). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 84c17c26473..2ed241c6693 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 993541f2557..ca0e825dfea 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;