aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-22 07:46:14 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-22 07:46:14 +0000
commitebeccdf0b8be6670a0de68318fcb838c638c1e58 (patch)
tree317fc149808cd963cee599967dbe881b37b9b4c4 /gdb
parent8b9f3fffcdf091476590ea71a2835b528c39b72f (diff)
downloadgdb-ebeccdf0b8be6670a0de68318fcb838c638c1e58.zip
gdb-ebeccdf0b8be6670a0de68318fcb838c638c1e58.tar.gz
gdb-ebeccdf0b8be6670a0de68318fcb838c638c1e58.tar.bz2
* mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break'
instruction's argument. Patch from jonathan@cs.stanford.edu (Jonathan Stone).
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/mips-pinsn.c4
2 files changed, 10 insertions, 0 deletions
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;