forked from Imagelibrary/binutils-gdb
* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c, remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c, w89k-rom.c, target.c, target.h: Add support for target_stop(). * gdbtk.c (gdb_stop): Switch to target_stop().
This commit is contained in:
@@ -374,12 +374,7 @@ gdb_stop (clientData, interp, argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
extern pid_t inferior_process_group;
|
||||
|
||||
/* XXX - This is WRONG for remote targets. Probably need a target vector
|
||||
entry to do this right. */
|
||||
|
||||
kill (-inferior_process_group, SIGINT);
|
||||
target_stop ();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user