diff options
author | Tom Tromey <tom@tromey.com> | 2021-04-22 16:50:32 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-04-22 19:44:12 -0600 |
commit | dbc0e7ce6537812b0fafb4865520a1d35b1931dc (patch) | |
tree | 4a2e855fc67d53ec47dcbe22d540fc83d5050cd8 /sim/common/ChangeLog | |
parent | 432ce4cf6800a3693656fde1306d83ce767e2b2a (diff) | |
download | gdb-dbc0e7ce6537812b0fafb4865520a1d35b1931dc.zip gdb-dbc0e7ce6537812b0fafb4865520a1d35b1931dc.tar.gz gdb-dbc0e7ce6537812b0fafb4865520a1d35b1931dc.tar.bz2 |
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.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r-- | sim/common/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index c6a0b83..119bbda 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2021-04-22 Tom Tromey <tom@tromey.com> + + * sim-events.c (sim_events_schedule): Use + sim_events_schedule_tracef. + 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca> * callback.c (os_printf_filtered, os_vprintf_filtered, |