The cleanup to use BFD_VMA_FMT also adjusted this line, but used the
incorrect format: while BFD_VMA_FMT needs an explicit "x", PRIx32 does
not, so the spurious "x" here confused the parser and broke execution.
+2021-05-23 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-if.c (sim_open): Delete "x" after PRI macros.
+
2021-05-23 Mike Frysinger <vapier@gentoo.org>
* sim-if.c: Include unistd.h.
/* Allocate core managed memory if none specified by user. */
if (sim_core_read_buffer (sd, NULL, read_map, &c, startmem, 1) == 0)
- sim_do_commandf (sd, "memory region 0x%" PRIx32 "x,0x%" PRIu32 "x",
+ sim_do_commandf (sd, "memory region 0x%" PRIx32 ",0x%" PRIu32,
startmem, endmem - startmem);
/* Allocate simulator I/O managed memory if none specified by user. */