From 8517f62b166073b871c896fdd642798fae4a08bd Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 18 Apr 1997 12:24:52 +0000 Subject: Ref gdb/11763 - can't stop a running simulator: o Provide poll_quit callback to simulators so that they can poll for SIGINT on clueless OS's. o Add sim_stop to simulators so that clients can request a halt (eg gdbtk's STOP button) Works for PPC! o Re-arange remote-sim.c so that the hard work is moved from gdbsim_resume() to gdbsim_wait() (where it should be). --- sim/v850/ChangeLog | 4 ++++ sim/v850/interp.c | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'sim/v850') diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 72d507d..e418ae6 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 18 14:17:12 1997 Andrew Cagney + + * interp.c (sim_stop): Stub function. + Thu Apr 17 03:53:18 1997 Doug Evans * Makefile.in (SIM_OBJS): Add sim-load.o. diff --git a/sim/v850/interp.c b/sim/v850/interp.c index d1aa8eb..da1cfd8 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -568,6 +568,13 @@ time_t start_time; static void do_interrupt PARAMS ((enum interrupt_type)); +int +sim_stop (sd) + SIM_DESC sd; +{ + return 0; +} + void sim_resume (sd, step, siggnal) SIM_DESC sd; -- cgit v1.1