aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/interp.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-12 08:33:56 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-12 08:33:56 +0000
commit9af5dcea8f103c6385dc2244dfb654ad7c7e928d (patch)
tree42882ebb9d6bfb421074dc78fb633ca1ab95b30e /sim/tic80/interp.c
parentc445af5a2b1fd76533a6ce709677e779f215721f (diff)
downloadgdb-9af5dcea8f103c6385dc2244dfb654ad7c7e928d.zip
gdb-9af5dcea8f103c6385dc2244dfb654ad7c7e928d.tar.gz
gdb-9af5dcea8f103c6385dc2244dfb654ad7c7e928d.tar.bz2
Clear cntrl-c after handling it.
Diffstat (limited to 'sim/tic80/interp.c')
-rw-r--r--sim/tic80/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/tic80/interp.c b/sim/tic80/interp.c
index 8fda287..072b9be 100644
--- a/sim/tic80/interp.c
+++ b/sim/tic80/interp.c
@@ -62,7 +62,7 @@ engine_error (SIM_DESC sd,
if (sd->halt_ok)
{
sim_io_eprintf (sd, "\n");
- engine_halt (sd, cpu, cia, sim_signalled, SIGABRT);
+ engine_halt (sd, cpu, cia, sim_stopped, SIGABRT);
}
else
sim_io_error (sd, " - aborting simulation");