diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-05-19 06:55:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-05-19 06:55:56 +0000 |
commit | fd76456bdbac3cdaafb13c8c9f475a9c0a080b99 (patch) | |
tree | 8e5293582645a3e645f71515dd4db6f054fc118d /sim/tic80 | |
parent | f03b093cd34bc352ad89334a43a34b00a5e5c60c (diff) | |
download | binutils-fd76456bdbac3cdaafb13c8c9f475a9c0a080b99.tar.gz binutils-fd76456bdbac3cdaafb13c8c9f475a9c0a080b99.tar.bz2 binutils-fd76456bdbac3cdaafb13c8c9f475a9c0a080b99.zip |
Make simulator event-queue manager a bit more signal safe.
Diffstat (limited to 'sim/tic80')
-rw-r--r-- | sim/tic80/ChangeLog | 4 | ||||
-rw-r--r-- | sim/tic80/sim-calls.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog index 76952bcd808..cc6bbe5783d 100644 --- a/sim/tic80/ChangeLog +++ b/sim/tic80/ChangeLog @@ -1,3 +1,7 @@ +Mon May 19 14:58:47 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * sim-calls.c (sim_open): Set the simulator base magic number. + Fri May 16 14:35:30 1997 Andrew Cagney <cagney@b1.cygnus.com> * insns (illegal, fp_unavailable): Halt instead of abort the diff --git a/sim/tic80/sim-calls.c b/sim/tic80/sim-calls.c index 5b580bd87b0..a0e57532bd1 100644 --- a/sim/tic80/sim-calls.c +++ b/sim/tic80/sim-calls.c @@ -53,6 +53,7 @@ SIM_DESC sim_open (SIM_OPEN_KIND kind, char **argv) { STATE_OPEN_KIND (&simulation) = kind; + STATE_MAGIC (&simulation) = SIM_MAGIC_NUMBER; /* establish the simulator configuration */ sim_config (&simulation, |