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.
+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
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;
}