aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-04-28 12:59:30 +0000
committerThiemo Seufer <ths@networkno.de>2006-04-28 12:59:30 +0000
commitcc0ca239ed9261e5a45680c89ab3dd5cbd455f90 (patch)
treeb4b78b4e03e1203a1daaeef783c03e86dae2d6e0
parent0d09bfe6d3ab7e840abb4d6d05362f92aa505c42 (diff)
downloadgdb-cc0ca239ed9261e5a45680c89ab3dd5cbd455f90.zip
gdb-cc0ca239ed9261e5a45680c89ab3dd5cbd455f90.tar.gz
gdb-cc0ca239ed9261e5a45680c89ab3dd5cbd455f90.tar.bz2
* mips-dis.c (print_insn_args): Add mips_opcode argument.
(print_insn_mips): Adjust print_insn_args call.
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/mips-dis.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index fde7b80..f9c0619 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,12 @@
2006-04-28 Thiemo Seufer <ths@mips.com>
Nigel Stevens <nigel@mips.com>
+ David Ung <davidu@mips.com>
+
+ * mips-dis.c (print_insn_args): Add mips_opcode argument.
+ (print_insn_mips): Adjust print_insn_args call.
+
+2006-04-28 Thiemo Seufer <ths@mips.com>
+ Nigel Stevens <nigel@mips.com>
* mips-dis.c (print_insn_args): Print $fcc only for FP
instructions, use $cc elsewise.
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 416be37..e8a083b 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -691,7 +691,8 @@ static void
print_insn_args (const char *d,
register unsigned long int l,
bfd_vma pc,
- struct disassemble_info *info)
+ struct disassemble_info *info,
+ const struct mips_opcode *opp)
{
int op, delta;
unsigned int lsb, msb, msbd;
@@ -1252,7 +1253,7 @@ print_insn_mips (bfd_vma memaddr,
if (d != NULL && *d != '\0')
{
(*info->fprintf_func) (info->stream, "\t");
- print_insn_args (d, word, memaddr, info);
+ print_insn_args (d, word, memaddr, info, op);
}
return INSNLEN;