aboutsummaryrefslogtreecommitdiff
path: root/gdb/infptrace.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/infptrace.c
parente17960fb42997fc740d0f74544be9713a0209878 (diff)
downloadfsf-binutils-gdb-ee0613d186dc9956209bd99f3f5f86ad8069366f.zip
fsf-binutils-gdb-ee0613d186dc9956209bd99f3f5f86ad8069366f.tar.gz
fsf-binutils-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/infptrace.c')
-rw-r--r--gdb/infptrace.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index f7f1f4f..3c26c87 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -1,5 +1,5 @@
/* Low level Unix child interface to ptrace, for GDB when running under Unix.
- Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc.
+ Copyright 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -55,7 +55,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#include "gdbcore.h"
+#ifndef NO_SYS_FILE
#include <sys/file.h>
+#endif
#include <sys/stat.h>
#if !defined (FETCH_INFERIOR_REGISTERS)
@@ -93,9 +95,7 @@ kill_inferior_fast ()
}
void
-kill_inferior (args, from_tty)
- char *args;
- int from_tty;
+kill_inferior ()
{
kill_inferior_fast ();
target_mourn_inferior ();
@@ -166,7 +166,6 @@ detach (signal)
#if defined (KERNEL_U_ADDR_BSD)
/* Get kernel_u_addr using BSD-style nlist(). */
CORE_ADDR kernel_u_addr;
-#include <a.out.h> /* For struct nlist */
void
_initialize_kernel_u_addr ()
@@ -357,7 +356,7 @@ child_xfer_memory (memaddr, myaddr, len, write, target)
char *myaddr;
int len;
int write;
- struct target_ops target; /* ignored */
+ struct target_ops *target; /* ignored */
{
register int i;
/* Round starting address down to longword boundary. */