aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-21 01:35:32 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-21 01:35:32 +0000
commitee0613d186dc9956209bd99f3f5f86ad8069366f (patch)
tree9ea6288316301f73fb44f0306b6d2ba9d85ebf51 /gdb/inflow.c
parente17960fb42997fc740d0f74544be9713a0209878 (diff)
downloadgdb-ee0613d186dc9956209bd99f3f5f86ad8069366f.zip
gdb-ee0613d186dc9956209bd99f3f5f86ad8069366f.tar.gz
gdb-ee0613d186dc9956209bd99f3f5f86ad8069366f.tar.bz2
* core.c, exec.c, solib.c: Rename target_ops sections =>
to_sections, etc. * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c, target.h: target_kill takes no args.
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r--gdb/inflow.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 332584c..22b4968 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -1,5 +1,5 @@
/* Low level interface to ptrace, for GDB when running under Unix.
- Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -35,7 +35,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <fcntl.h>
#include <sys/param.h>
-#include <sys/dir.h>
#include <signal.h>
extern char *strerror(); /* strings corresponding to errno */
@@ -418,7 +417,7 @@ kill_command (arg, from_tty)
error ("The program is not being run.");
if (!query ("Kill the inferior process? "))
error ("Not confirmed.");
- target_kill (arg, from_tty);
+ target_kill ();
/* Killing off the inferior can leave us with a core file. If so,
print the state we are left in. */