diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-10-23 03:01:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-10-23 03:01:55 +0000 |
commit | 38249531e04d19bfe9f6c938c7feab682dbbdeb1 (patch) | |
tree | 5e4913049970f19e3190a3df9fd092d32d5fd438 /gdb/pa64solib.c | |
parent | 4f202b400a35996ca3bfc2a1e370b29eb5d601ac (diff) | |
download | gdb-38249531e04d19bfe9f6c938c7feab682dbbdeb1.tar.gz |
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/pa64solib.c')
-rw-r--r-- | gdb/pa64solib.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/pa64solib.c b/gdb/pa64solib.c index b67532d3759..64f1ebbb1d8 100644 --- a/gdb/pa64solib.c +++ b/gdb/pa64solib.c @@ -1,6 +1,7 @@ /* Handle HP ELF shared libraries for GDB, the GNU Debugger. - Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, + Inc. This file is part of GDB. @@ -50,6 +51,7 @@ #include "gdbcmd.h" #include "language.h" #include "regcache.h" +#include "exec.h" #include <fcntl.h> @@ -57,9 +59,6 @@ #define O_BINARY 0 #endif -/* Defined in exec.c; used to prevent dangling pointer bug. */ -extern struct target_ops exec_ops; - static CORE_ADDR bfd_lookup_symbol (bfd *, char *); /* This lives in hppa-tdep.c. */ extern struct unwind_table_entry *find_unwind_entry (CORE_ADDR pc); |