aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-10-23 03:01:55 +0000
committerAndrew Cagney <cagney@redhat.com>2003-10-23 03:01:55 +0000
commit4646aa9d0b2c830d18d5b0ead2024cd222e7f9ee (patch)
tree753f37804756e572787b8af2447afbdfcd629cff /gdb/rs6000-nat.c
parent0088c768bba3ae61ff9288b0edce4a5cdd8c2227 (diff)
downloadgdb-4646aa9d0b2c830d18d5b0ead2024cd222e7f9ee.zip
gdb-4646aa9d0b2c830d18d5b0ead2024cd222e7f9ee.tar.gz
gdb-4646aa9d0b2c830d18d5b0ead2024cd222e7f9ee.tar.bz2
2003-10-22 Andrew Cagney <cagney@redhat.com>
* exec.h: New file. * win32-nat.c: Include "exec.h". * solib.c: Include "exec.h". * target.h (build_section_table): Delete declaration. * somsolib.c: Include "exec.h". (exec_ops): Delete extern declaration. * rs6000-nat.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * pa64solib.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * exec.c: Update copyright. Include "exec.h". * corelow.c: Update dependencies. Include "exec.h". * Makefile.in (exec_h): Define. (exec.o, somsolib.o): Update dependencies. (pa64solib.o, corelow.o): Update dependencies.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index ad8cc0d..e8bf4a0 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -1,7 +1,8 @@
/* IBM RS/6000 native-dependent code for GDB, the GNU debugger.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- 1998, 1999, 2000, 2001, 2002
- Free Software Foundation, Inc.
+
+ Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
+ 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
+ Inc.
This file is part of GDB.
@@ -34,6 +35,7 @@
#include "arch-utils.h"
#include "language.h" /* for local_hex_string(). */
#include "ppc-tdep.h"
+#include "exec.h"
#include <sys/ptrace.h>
#include <sys/reg.h>
@@ -127,8 +129,6 @@ typedef union {
extern struct vmap *map_vmap (bfd * bf, bfd * arch);
-extern struct target_ops exec_ops;
-
static void vmap_exec (void);
static void vmap_ldinfo (LdInfo *);