summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2013-08-01 07:13:21 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2013-08-01 07:13:21 +0000
commitd18d79ffd1a573842d30cf062ba1fc6ed544644e (patch)
treebc97e385f772cf1c2fba363beedd39749d30730e /opcodes
parenta1269d2a9a983622bbfcaa31206b78d165f18b18 (diff)
downloadgdb-d18d79ffd1a573842d30cf062ba1fc6ed544644e.tar.gz
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 e36ce7ed263..35e96332eae 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 03333bfd954..b7aa5513e64 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;
}
}