aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog3
-rw-r--r--sim/common/sim-core.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 4e2cf4a..f5440d4 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,8 @@
Tue Nov 18 15:53:45 1997 Doug Evans <devans@canuck.cygnus.com>
+ * sim-core.c (sim_core_signal): Use sim_stopped instead of
+ sim_signalled.
+
* sim-signal.c, sim-signal.h: New files.
* Make-common.in (sim-signal.o): Add rule for.
(SIM_NEW_COMMON_OBJS): Add sim-signal.o.
diff --git a/sim/common/sim-core.c b/sim/common/sim-core.c
index b411026..6ce693c 100644
--- a/sim/common/sim-core.c
+++ b/sim/common/sim-core.c
@@ -105,12 +105,12 @@ sim_core_signal (SIM_DESC sd,
case sim_core_unmapped_signal:
sim_io_eprintf (sd, "core: %d byte %s to unmaped address 0x%lx at 0x%lx\n",
nr_bytes, copy, (unsigned long) addr, (unsigned long) ip);
- sim_engine_halt (sd, cpu, NULL, cia, sim_signalled, SIM_SIGSEGV);
+ sim_engine_halt (sd, cpu, NULL, cia, sim_stopped, SIM_SIGSEGV);
break;
case sim_core_unaligned_signal:
sim_io_eprintf (sd, "core: %d byte misaligned %s to address 0x%lx at 0x%lx\n",
nr_bytes, copy, (unsigned long) addr, (unsigned long) ip);
- sim_engine_halt (sd, cpu, NULL, cia, sim_signalled, SIM_SIGBUS);
+ sim_engine_halt (sd, cpu, NULL, cia, sim_stopped, SIM_SIGBUS);
break;
default:
sim_engine_abort (sd, cpu, cia,