aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-07-08 08:00:36 +0000
committerAndrew Cagney <cagney@redhat.com>1998-07-08 08:00:36 +0000
commit9483af2c6111df56e80517ceea2b3ef1c15eaa17 (patch)
treec2f9dbf15c07243caaab0e799bd1a723bdb2fab4 /sim
parentd76c93e68c515908187cbf814d07867c23d867f0 (diff)
downloadgdb-9483af2c6111df56e80517ceea2b3ef1c15eaa17.zip
gdb-9483af2c6111df56e80517ceea2b3ef1c15eaa17.tar.gz
gdb-9483af2c6111df56e80517ceea2b3ef1c15eaa17.tar.bz2
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.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 0000df4..bf64f2e 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,18 @@
+Wed Jul 8 17:41:47 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * 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.