mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
Clear cntrl-c after handling it.
This commit is contained in:
parent
c445af5a2b
commit
9af5dcea8f
@ -1,5 +1,11 @@
|
||||
Mon May 12 11:12:24 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* sim-calls.c (sim_stop_reason): Restore keep_running after a
|
||||
CNTRL-C, don't re-clear it.
|
||||
|
||||
* interp.c (engine_error): stop rather than signal with SIGABRT
|
||||
when an error.
|
||||
|
||||
* insns (do_ld): For 64bit loads, always store LSW in rDest, MSW in
|
||||
rDest + 1. Also done by Michael Meissner <meissner@cygnus.com>
|
||||
(do_st): Converse for store.
|
||||
|
@ -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");
|
||||
|
@ -237,7 +237,7 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc)
|
||||
{
|
||||
*reason = sim_stopped;
|
||||
*sigrc = SIGINT;
|
||||
keep_running = 0;
|
||||
keep_running = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user