aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mips-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-08-01 00:41:35 +0000
committerAlan Modra <amodra@gmail.com>2012-08-01 00:41:35 +0000
commit488916061e57e6b83b8229475789a78b8f7b5fb1 (patch)
treee8301eef615a026bb5a56f653774953e6272890b /opcodes/mips-dis.c
parent3a3617baaa1c87366cd73d970524b17adb262b57 (diff)
downloadgdb-488916061e57e6b83b8229475789a78b8f7b5fb1.zip
gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.tar.gz
gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.tar.bz2
* h8300-dis.c: Fix printf arg warnings.
* i960-dis.c: Likewise. * mips-dis.c: Likewise. * pdp11-dis.c: Likewise. * sh-dis.c: Likewise. * v850-dis.c: Likewise. * configure.in: Formatting. * configure: Regenerate. * rl78-decode.c: Regenerate. * po/POTFILES.in: Regenerate.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r--opcodes/mips-dis.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index ace65a5..8f8a5d7 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -2412,31 +2412,31 @@ print_insn_micromips (bfd_vma memaddr, struct disassemble_info *info)
break;
case '2':
- infprintf (is, "0x%lx", GET_OP (insn, BP));
+ infprintf (is, "0x%x", GET_OP (insn, BP));
break;
case '3':
- infprintf (is, "0x%lx", GET_OP (insn, SA3));
+ infprintf (is, "0x%x", GET_OP (insn, SA3));
break;
case '4':
- infprintf (is, "0x%lx", GET_OP (insn, SA4));
+ infprintf (is, "0x%x", GET_OP (insn, SA4));
break;
case '5':
- infprintf (is, "0x%lx", GET_OP (insn, IMM8));
+ infprintf (is, "0x%x", GET_OP (insn, IMM8));
break;
case '6':
- infprintf (is, "0x%lx", GET_OP (insn, RS));
+ infprintf (is, "0x%x", GET_OP (insn, RS));
break;
case '7':
- infprintf (is, "$ac%ld", GET_OP (insn, DSPACC));
+ infprintf (is, "$ac%d", GET_OP (insn, DSPACC));
break;
case '8':
- infprintf (is, "0x%lx", GET_OP (insn, WRDSP));
+ infprintf (is, "0x%x", GET_OP (insn, WRDSP));
break;
case '0': /* DSP 6-bit signed immediate in bit 16. */
@@ -2453,7 +2453,7 @@ print_insn_micromips (bfd_vma memaddr, struct disassemble_info *info)
break;
case '^':
- infprintf (is, "0x%lx", GET_OP (insn, RD));
+ infprintf (is, "0x%x", GET_OP (insn, RD));
break;
case '|':