mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Don't use BFD_VMA_FMT in gdb and sim
Like commit b82817674f, this replaces BFD_VMA_FMT "x" in sim/ with PRIx64 and casts to promote bfd_vma to uint64_t. The one file using BFD_VMA_FMT in gdb/ instead now uses hex_string, and a typo in the warning message is fixed.
This commit is contained in:
@ -1171,8 +1171,8 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd,
|
||||
start_address = 0xffc0 << 2;
|
||||
#ifdef DEBUG
|
||||
if (d10v_debug)
|
||||
sim_io_printf (sd, "sim_create_inferior: PC=0x%" BFD_VMA_FMT "x\n",
|
||||
start_address);
|
||||
sim_io_printf (sd, "sim_create_inferior: PC=0x%" PRIx64 "\n",
|
||||
(uint64_t) start_address);
|
||||
#endif
|
||||
{
|
||||
SIM_CPU *cpu = STATE_CPU (sd, 0);
|
||||
|
Reference in New Issue
Block a user