diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-27 00:02:11 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-27 23:33:26 -0400 |
commit | 2b83b95803d745d0a57ae7331a285aa692c6e425 (patch) | |
tree | d4ab6ecb7a692c04d118129b79365fd98f14c373 /sim/frv/profile.c | |
parent | 247867ebd359f46d0b67822f175f4721a52402ba (diff) | |
download | gdb-2b83b95803d745d0a57ae7331a285aa692c6e425.zip gdb-2b83b95803d745d0a57ae7331a285aa692c6e425.tar.gz gdb-2b83b95803d745d0a57ae7331a285aa692c6e425.tar.bz2 |
sim: frv: fix some printf type mismatch warnings
The %p usage was a real bug that would probably cause a crash.
Diffstat (limited to 'sim/frv/profile.c')
-rw-r--r-- | sim/frv/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/frv/profile.c b/sim/frv/profile.c index 94212bf..89332e5 100644 --- a/sim/frv/profile.c +++ b/sim/frv/profile.c @@ -901,7 +901,7 @@ wait_for_flush (SIM_CPU *cpu) } if (TRACE_INSN_P (cpu) && wait) { - sprintf (hazard_name, "Data cache flush address %p:", address); + sprintf (hazard_name, "Data cache flush address %x:", address); frv_model_trace_wait_cycles (cpu, wait, hazard_name); } } |