mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
sim/rx: use PRIx64 in printf format string
Silence a GCC compiler warning by using PRIx64 in printf format string instead of hard coded "llx". sim/rx/ChangeLog: * reg.c (trace_register_changes): Use PRIx64 in printf format string.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* reg.c (trace_register_changes): Use PRIx64 in printf format
|
||||
string.
|
||||
|
||||
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* syscalls.c (rx_syscall): Move declaration of some variables to
|
||||
|
@ -548,8 +548,8 @@ trace_register_changes (void)
|
||||
if (oldregs.r_acc != regs.r_acc)
|
||||
{
|
||||
if (tag) { printf ("%s", tag); tag = 0; }
|
||||
printf(" acc %016llx:", oldregs.r_acc);
|
||||
printf("%016llx", regs.r_acc);
|
||||
printf(" acc %016" PRIx64 ":", oldregs.r_acc);
|
||||
printf("%016" PRIx64, regs.r_acc);
|
||||
oldregs.r_acc = regs.r_acc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user