aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-11-03 22:41:12 +0000
committerStu Grossman <grossman@cygnus>1994-11-03 22:41:12 +0000
commit6c27841f3b120b58f6306070deaccd7421696c1b (patch)
tree0b861530082869d6e91c0fa85bc365f9b145b61e /gdb/gdbtk.c
parent78b459a7e7d0930a3ac1c4ca2fe4706559675cdc (diff)
downloadgdb-6c27841f3b120b58f6306070deaccd7421696c1b.zip
gdb-6c27841f3b120b58f6306070deaccd7421696c1b.tar.gz
gdb-6c27841f3b120b58f6306070deaccd7421696c1b.tar.bz2
* 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().
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index eefac93..21b2be3 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -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 ();
}