+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.
if (TRACE_SYSCALL_P (MSP430_CPU (sd)))
trace_generic (sd, MSP430_CPU (sd), TRACE_SYSCALL_IDX,
- "returns %d", sc.result);
+ "returns %ld", sc.result);
MSP430_CPU (sd)->state.regs[12] = sc.result;
return 1;
sim_core_read_buffer (sd, MSP430_CPU (sd), 0, b, opcode_pc, opsize);
- init_disassemble_info (&info, stderr, fprintf);
+ init_disassemble_info (&info, stderr, (fprintf_ftype) fprintf);
info.private_data = sd;
info.read_memory_func = msp430_dis_read;
fprintf (stderr, "%#8x ", opcode_pc);