diff options
Diffstat (limited to 'sim/cris')
-rw-r--r-- | sim/cris/sim-if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/cris/sim-if.c b/sim/cris/sim-if.c index 602db9a..63deb46 100644 --- a/sim/cris/sim-if.c +++ b/sim/cris/sim-if.c @@ -887,7 +887,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 ",0x%" PRIu32, + sim_do_commandf (sd, "memory region 0x%" PRIx32 ",0x%" PRIx32, startmem, endmem - startmem); /* Allocate simulator I/O managed memory if none specified by user. */ |