summaryrefslogtreecommitdiff
path: root/gdb/procfs.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
commit81116133d4494fac4bc27e33615961faf085b36d (patch)
treec26341d0fbca12bb8d876d515154764b4e870b98 /gdb/procfs.c
parent91b17180fac56041073dfe8d86aab47354a2ef75 (diff)
downloadgdb-81116133d4494fac4bc27e33615961faf085b36d.tar.gz
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/procfs.c')
-rw-r--r--gdb/procfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 3ad2f886ea8..969bbcb2b61 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -43,6 +43,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <signal.h>
#include <ctype.h>
#include "gdb_assert.h"
+#include "inflow.h"
/*
* PROCFS.C
@@ -4606,8 +4607,6 @@ procfs_can_run (void)
static void
procfs_stop (void)
{
- extern pid_t inferior_process_group;
-
kill (-inferior_process_group, SIGINT);
}