+Thu Nov 20 20:35:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-signal.h: Start simulator signals at 64 so that host signal
+ numbers can be detected and reported.
+
+ * sim-signal.h (SIM_SIGFPE), sim-signal.h: Add signal.
+
Wed Nov 19 12:02:41 1997 Doug Evans <devans@seba.cygnus.com>
* callback.c (cb_host_to_target_stat): Fix return values.
Thu Nov 20 19:56:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
- * sim-main.h (Config): New register.
+ * interp.c (signal_exception): Report internal errors with SIGABRT
+ not SIGQUIT.
- * interp.c (decode_coproc): Allow access to Config register.
+ * sim-main.h (C0_CONFIG): New register.
+ (signal.h): No longer include.
+
+ * interp.c (decode_coproc): Allow access C0_CONFIG to register.
Tue Nov 18 15:33:48 1997 Doug Evans <devans@canuck.cygnus.com>
else
PC = cia;
sim_engine_halt (sd, STATE_CPU (sd, 0), NULL, cia,
- sim_stopped, SIGTRAP);
+ sim_stopped, SIM_SIGTRAP);
default:
/* Store exception code into current exception id variable (used
exception address on breakpoint operations. */
PC = EPC;
sim_engine_halt (sd, STATE_CPU (sd, 0), NULL, NULL_CIA,
- sim_stopped, SIGBUS);
+ sim_stopped, SIM_SIGBUS);
case ReservedInstruction:
case CoProcessorUnusable:
PC = EPC;
sim_engine_halt (sd, STATE_CPU (sd, 0), NULL, NULL_CIA,
- sim_stopped, SIGILL);
+ sim_stopped, SIM_SIGILL);
case IntegerOverflow:
case FPE:
sim_engine_halt (sd, STATE_CPU (sd, 0), NULL, NULL_CIA,
- sim_stopped, SIGFPE);
+ sim_stopped, SIM_SIGFPE);
case Trap:
case Watch:
case SystemCall:
PC = EPC;
sim_engine_halt (sd, STATE_CPU (sd, 0), NULL, NULL_CIA,
- sim_stopped, SIGTRAP);
+ sim_stopped, SIM_SIGTRAP);
case BreakPoint:
PC = EPC;
default : /* Unknown internal exception */
PC = EPC;
sim_engine_halt (sd, STATE_CPU (sd, 0), NULL, NULL_CIA,
- sim_stopped, SIGQUIT);
+ sim_stopped, SIM_SIGABRT);
}