binutils-gdb/sim/msp430/ChangeLog
Mike Frysinger a3271a3e6c 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__)'
2014-03-10 22:59:22 -04:00

22 lines
502 B
Plaintext

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.
2013-06-21 Nick Clifton <nickc@redhat.com>
* Makefile.in: New.
* aclocal.m4: Generate.
* config.in: Generate.
* configure.ac: New.
* configure: Generate.
* msp430-sim.c: New.
* msp430-sim.h: New.
* sim-main.h: New.
* trace.c: New.
* trace.h: New.