diff options
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r-- | gdb/gdbtk.c | 7 |
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 (); } |