aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-03-18 07:43:22 +0000
committerAndrew Cagney <cagney@redhat.com>1997-03-18 07:43:22 +0000
commitd11d59aca89a0fdc1a577e1e60022d594e927288 (patch)
tree1e7de89993515469ec12ddc5fb4139f2e07e1fb8 /sim/common
parent752517ccf04857c73d72147fcb51e11cac646e2f (diff)
downloadgdb-d11d59aca89a0fdc1a577e1e60022d594e927288.zip
gdb-d11d59aca89a0fdc1a577e1e60022d594e927288.tar.gz
gdb-d11d59aca89a0fdc1a577e1e60022d594e927288.tar.bz2
Rename `struct _engine' to new `struct sim_state'.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog30
-rw-r--r--sim/common/sim-bits.c2
2 files changed, 31 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 3d20c8c..fcbca74 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,33 @@
+Tue Mar 18 13:58:18 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+ * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c,
+ sim-events.c, sim-inline.c, sim-io.c): Define rules for building
+ these.
+
+ * sim-events.c (sim_events_at_large_int): New function. Just
+ schedules an event every large-int ticks.
+ (sim_events_init): Call.
+ (sim_events_tick, sim_events_process): Move async handing to
+ sim_events_process. Move timer decrement so that it occures after
+ events have been processed.
+
+ * sim-basics.h (struct _engine): Remove declaration.
+
+ * sim-events.h, sim-events.c: Rename type to sim_events. Prefix
+ everything with same. Rename global struct to SIM_DESC.
+ * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core.
+ * sim-io.h, sim-io.c: Ditto.
+
+ * sim-assert.h: New file. Optional assertion checking macros.
+ * sim-io.c (sim_io_error): Make just this function tolerant to
+ null pointers.
+
+ * sim-xcat.h: New file. Define concatenate macros.
+ * sim-basics.h (XCONCAT*): Move to sim-xcat.h.
+ * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include
+ concat macros.
+
+
Tue Mar 18 12:44:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
* sim-bits.h (LSMASK): New macro. Create mask of LS bits.
diff --git a/sim/common/sim-bits.c b/sim/common/sim-bits.c
index 1f0a8e5..1c08c4d 100644
--- a/sim/common/sim-bits.c
+++ b/sim/common/sim-bits.c
@@ -23,7 +23,7 @@
#define _SIM_BITS_C_
#include "sim-basics.h"
-
+#include "sim-assert.h"
INLINE_SIM_BITS\
(unsigned_word)