Fix sim build failure
authorTom Tromey <tom@tromey.com>
Thu, 22 Apr 2021 22:50:32 +0000 (16:50 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 23 Apr 2021 01:44:12 +0000 (19:44 -0600)
commitdbc0e7ce6537812b0fafb4865520a1d35b1931dc
tree4a2e855fc67d53ec47dcbe22d540fc83d5050cd8
parent432ce4cf6800a3693656fde1306d83ce767e2b2a
Fix sim build failure

On x86-64 Fedora 32, the sim was failing to build.
sim_events_schedule was passing a 'dummy' argument to
sim_events_schedule_vtracef, which caused an error because the format
parameter was NULL.  However, removing this dummy argument caused an
error because too few arguments were being passed -- catch 22.

This patch fixes the build problem by using sim_events_schedule_tracef
instead.

sim/common/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* sim-events.c (sim_events_schedule): Use
sim_events_schedule_tracef.
sim/common/ChangeLog
sim/common/sim-events.c