* 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:
Stu Grossman
1994-11-03 22:41:12 +00:00
parent 78b459a7e7
commit 6c27841f3b
6 changed files with 20 additions and 17 deletions

View File

@@ -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 ();
}