Make simulator event-queue manager a bit more signal safe.

This commit is contained in:
Andrew Cagney
1997-05-19 06:55:56 +00:00
parent f03b093cd3
commit fd76456bdb
3 changed files with 26 additions and 0 deletions

View File

@@ -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

View File

@@ -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,