diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-07 04:21:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-07 04:21:34 +0000 |
commit | 44270758cd8e51b26d4bf8c58f2d69f27225a71f (patch) | |
tree | ec8ce247b0b33ef5a05eae8c68cb6661591810b9 /gdb/procfs.c | |
parent | df8f727469e674603bd9438adf5fcf070227aa94 (diff) | |
download | gdb-44270758cd8e51b26d4bf8c58f2d69f27225a71f.zip gdb-44270758cd8e51b26d4bf8c58f2d69f27225a71f.tar.gz 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/procfs.c')
-rw-r--r-- | gdb/procfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 3ad2f88..969bbcb 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); } |