aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-01 00:25:13 -0400
committerMike Frysinger <vapier@gentoo.org>2021-11-01 00:25:13 -0400
commit8009a84cfd52c16bf6bcd0477ec89ff531bea678 (patch)
tree0671b938fa7e62448d6e575e5cec4dd3a3ee8320 /sim/ppc
parent06969ac4491a0edd7083f1705c87281e1a0780f7 (diff)
downloadgdb-8009a84cfd52c16bf6bcd0477ec89ff531bea678.zip
gdb-8009a84cfd52c16bf6bcd0477ec89ff531bea678.tar.gz
gdb-8009a84cfd52c16bf6bcd0477ec89ff531bea678.tar.bz2
sim: ppc: fix the printf fix for 32-bit systems
The time delta is a 64-bit value too.
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/events.c b/sim/ppc/events.c
index e40e1b4..898810c 100644
--- a/sim/ppc/events.c
+++ b/sim/ppc/events.c
@@ -169,7 +169,7 @@ update_time_from_event(event_queue *events)
event != NULL;
event = event->next, i++)
{
- TRACE(trace_events, ("event time-from-event - time %" PRIi64 ", delta %ld - event %d, tag %p, time %" PRIi64 ", handler %p, data %p\n",
+ TRACE(trace_events, ("event time-from-event - time %" PRIi64 ", delta %" PRIi64 " - event %d, tag %p, time %" PRIi64 ", handler %p, data %p\n",
current_time,
events->time_from_event,
i,