aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-07 04:21:34 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-07 04:21:34 +0000
commit44270758cd8e51b26d4bf8c58f2d69f27225a71f (patch)
treeec8ce247b0b33ef5a05eae8c68cb6661591810b9 /gdb/inftarg.c
parentdf8f727469e674603bd9438adf5fcf070227aa94 (diff)
downloadfsf-binutils-gdb-44270758cd8e51b26d4bf8c58f2d69f27225a71f.zip
fsf-binutils-gdb-44270758cd8e51b26d4bf8c58f2d69f27225a71f.tar.gz
fsf-binutils-gdb-44270758cd8e51b26d4bf8c58f2d69f27225a71f.tar.bz2
2003-02-06 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (inflow_h): Define. (procfs.o, inflow.o, procfs.o): Update dependencies. * inftarg.c (child_stop): Delete extern declaration of inferior_process_group. Include "inflow.h". * procfs.c (procfs_stop): Ditto. Include "inflow.h". * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. (our_process_group, inferior_process_group): Extern declarations.
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c
index 629f37d..7786579 100644
--- a/gdb/inftarg.c
+++ b/gdb/inftarg.c
@@ -36,6 +36,7 @@
#include <fcntl.h>
#include "gdb_wait.h"
+#include "inflow.h"
extern struct symtab_and_line *child_enable_exception_callback (enum
exception_event_kind,
@@ -512,8 +513,6 @@ child_can_run (void)
static void
child_stop (void)
{
- extern pid_t inferior_process_group;
-
kill (-inferior_process_group, SIGINT);
}