From 9483af2c6111df56e80517ceea2b3ef1c15eaa17 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 8 Jul 1998 08:00:36 +0000 Subject: [PATCH] Add a printf fmt style version of sim_events_schedule. This allows the caller to specify extra trace information that is only evaluated when tracing is enabled. --- sim/common/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 0000df4a936..bf64f2e5b9e 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,18 @@ +Wed Jul 8 17:41:47 1998 Andrew Cagney + + * sim-events.c (ETRACE_P): New macro. + (struct _sim_event): Add member trace. + (sim_events_free): Reclaim trace message. + + * sim-events.c, sim-events.h (sim_events_schedule_vtracef, + sim_events_schedule_tracef): New functions, include printf trace + information in argument list. If tracing, store asprintf'd trace + message in sim_event. + + * hw-events.c, hw-events.h (hw_event_queue_schedule_tracef, + hw_event_queue_schedule_vtracef): New functions, mimic + sim_event_tracef. + Mon Jul 6 15:51:14 1998 Jeffrey A Law (law@cygnus.com) * sim-bits.h (EXTEND24): Define. -- 2.30.2