aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-11-19 08:03:53 +0000
committerDoug Evans <dje@google.com>1997-11-19 08:03:53 +0000
commita4b44a2b08b22e323d3366de61c19218197422d4 (patch)
treeb0e56bec75e38639f225fb59d50cb422240ca7c7
parent1ebc7e0e243040693a2cf9b4d702d293ee5e6769 (diff)
downloadgdb-a4b44a2b08b22e323d3366de61c19218197422d4.zip
gdb-a4b44a2b08b22e323d3366de61c19218197422d4.tar.gz
gdb-a4b44a2b08b22e323d3366de61c19218197422d4.tar.bz2
* sim-core.c (sim_core_signal): Use sim_stopped instead of
sim_signalled.
-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,