aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-08-01 07:13:21 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-08-01 07:13:21 +0000
commit6d075bce124174c8809ec27a602382bcd4bf40e8 (patch)
tree730a168d76e10fe4bba06a0d3f9dbbe9142adf0f /opcodes
parent645eab03a932e03adc9b34feba086835a38ea471 (diff)
downloadgdb-6d075bce124174c8809ec27a602382bcd4bf40e8.zip
gdb-6d075bce124174c8809ec27a602382bcd4bf40e8.tar.gz
gdb-6d075bce124174c8809ec27a602382bcd4bf40e8.tar.bz2
opcodes/
* mips-dis.c (print_mips16_insn_arg): Include ISA bit in base address.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mips-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e36ce7e..35e9633 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-01 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * mips-dis.c (print_mips16_insn_arg): Include ISA bit in base address.
+
2013-07-29 Peter Bergner <bergner@vnet.ibm.com>
* ppc-dis.c (powerpc_init_dialect): Use ppc_parse_cpu() to set dialect.
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 03333bf..b7aa551 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -1565,7 +1565,7 @@ print_mips16_insn_arg (struct disassemble_info *info,
}
}
- print_insn_arg (info, state, opcode, operand, baseaddr, uval);
+ print_insn_arg (info, state, opcode, operand, baseaddr + 1, uval);
break;
}
}