aboutsummaryrefslogtreecommitdiff
path: root/sim/msp430/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-03-06 23:29:37 -0500
committerMike Frysinger <vapier@gentoo.org>2014-03-10 22:59:22 -0400
commita3271a3e6c841729a9ece40af973e275ea2de875 (patch)
treedb2911deb63aa4a00f36e921b124b2619db8463c /sim/msp430/ChangeLog
parent60d847df0b9691b7cb38bfba41b9d6aafd97efc2 (diff)
downloadgdb-a3271a3e6c841729a9ece40af973e275ea2de875.zip
gdb-a3271a3e6c841729a9ece40af973e275ea2de875.tar.gz
gdb-a3271a3e6c841729a9ece40af973e275ea2de875.tar.bz2
sim: msp430: fix build time warnings
This fix is simple: msp430-sim.c: In function 'maybe_perform_syscall': msp430-sim.c:898:10: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat] This one we change to use casts like everyone else does in the code base: msp430-sim.c: In function 'msp430_step_once': msp430-sim.c:985:7: warning: passing argument 3 of 'init_disassemble_info' from incompatible pointer type [enabled by default] include/dis-asm.h:368:13: note: expected 'fprintf_ftype' but argument is of type 'int (*)(struct FILE * __restrict__, const char * __restrict__)'
Diffstat (limited to 'sim/msp430/ChangeLog')
-rw-r--r--sim/msp430/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index a5c5fec..0a3da7d 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-10 Mike Frysinger <vapier@gentoo.org>
+
+ * msp430-sim (maybe_perform_syscall): Change %d to %ld.
+ (msp430_step_once): Cast fprintf to fprintf_ftype.
+
2013-09-23 Alan Modra <amodra@gmail.com>
* aclocal.m4, configure: Regenerate.