projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06969ac
)
sim: ppc: fix the printf fix for 32-bit systems
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 1 Nov 2021 04:25:13 +0000
(
00:25
-0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 1 Nov 2021 04:25:13 +0000
(
00:25
-0400)
The time delta is a 64-bit value too.
sim/ppc/events.c
patch
|
blob
|
history
diff --git
a/sim/ppc/events.c
b/sim/ppc/events.c
index e40e1b4d56c5f38038e28a58421d6a9107d67714..898810c7b7416298859c7eb5d7ed704a634dfc7f 100644
(file)
--- 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,