forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user