aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-06-06 02:48:34 +0000
committerAlan Modra <amodra@gmail.com>2006-06-06 02:48:34 +0000
commit92ce91bb61f9e27a25e57d6844dfa21f11ffb1c7 (patch)
treea7172a22451cbd58df04107d8c9be436a3354b3e /opcodes
parente0f6802f194110d22a494563e3310892c24b1ab7 (diff)
downloadgdb-92ce91bb61f9e27a25e57d6844dfa21f11ffb1c7.zip
gdb-92ce91bb61f9e27a25e57d6844dfa21f11ffb1c7.tar.gz
gdb-92ce91bb61f9e27a25e57d6844dfa21f11ffb1c7.tar.bz2
* m68hc11-dis.c (print_insn): Warning fix.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/m68hc11-dis.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index ac6f912..e89eb8f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-06 Alan Modra <amodra@bigpond.net.au>
+
+ * m68hc11-dis.c (print_insn): Warning fix.
+
2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
* po/Make-in (top_builddir): Define.
diff --git a/opcodes/m68hc11-dis.c b/opcodes/m68hc11-dis.c
index 9860013..ae94271 100644
--- a/opcodes/m68hc11-dis.c
+++ b/opcodes/m68hc11-dis.c
@@ -1,5 +1,6 @@
/* m68hc11-dis.c -- Motorola 68HC11 & 68HC12 disassembly
- Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2003, 2006
+ Free Software Foundation, Inc.
Written by Stephane Carrez (stcarrez@nerim.fr)
This program is free software; you can redistribute it and/or modify
@@ -692,11 +693,11 @@ print_insn (bfd_vma memaddr, struct disassemble_info* info, int arch)
opcode table content. */
if (format & ~(M6811_OP_PAGE4 | M6811_OP_PAGE3 | M6811_OP_PAGE2))
{
- (*info->fprintf_func) (info->stream, "; Error, format: %x", format);
+ (*info->fprintf_func) (info->stream, "; Error, format: %lx", format);
}
if (pos != opcode->size)
{
- (*info->fprintf_func) (info->stream, "; Error, size: %d expect %d",
+ (*info->fprintf_func) (info->stream, "; Error, size: %ld expect %d",
pos, opcode->size);
}
#endif