mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
sim: cris: fix memory setup typos
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.
This commit is contained in:
parent
d699be882b
commit
d16ce6e4d5
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -879,7 +879,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
|
||||
|
||||
/* 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. */
|
||||
|
Loading…
Reference in New Issue
Block a user