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 /opcodes/xstormy16-desc.c | |
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 'opcodes/xstormy16-desc.c')
0 files changed, 0 insertions, 0 deletions