+2021-06-27 Mike Frysinger <vapier@gentoo.org>
+
+ * profile.c (wait_for_flush): Change %p to %x.
+ * sim-if.c (sim_open): Change %lx to %x.
+
2021-06-27 Mike Frysinger <vapier@gentoo.org>
* traps.c (frv_break): Delete pc and pass down NULL_CIA.
}
if (TRACE_INSN_P (cpu) && wait)
{
- sprintf (hazard_name, "Data cache flush address %p:", address);
+ sprintf (hazard_name, "Data cache flush address %x:", address);
frv_model_trace_wait_cycles (cpu, wait, hazard_name);
}
}
/* Allocate core managed memory if none specified by user.
Use address 4 here in case the user wanted address 0 unmapped. */
if (sim_core_read_buffer (sd, NULL, read_map, &c, 4, 1) == 0)
- sim_do_commandf (sd, "memory region 0,0x%lx", FRV_DEFAULT_MEM_SIZE);
+ sim_do_commandf (sd, "memory region 0,0x%x", FRV_DEFAULT_MEM_SIZE);
/* check for/establish the reference program image */
if (sim_analyze_program (sd,