aboutsummaryrefslogtreecommitdiff
path: root/gdb/somsolib.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/somsolib.c
parent0088c768bba3ae61ff9288b0edce4a5cdd8c2227 (diff)
downloadfsf-binutils-gdb-4646aa9d0b2c830d18d5b0ead2024cd222e7f9ee.zip
fsf-binutils-gdb-4646aa9d0b2c830d18d5b0ead2024cd222e7f9ee.tar.gz
fsf-binutils-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/somsolib.c')
-rw-r--r--gdb/somsolib.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c
index e013fd8..b2a833c 100644
--- a/gdb/somsolib.c
+++ b/gdb/somsolib.c
@@ -42,6 +42,7 @@
#include "language.h"
#include "regcache.h"
#include "gdb_assert.h"
+#include "exec.h"
#include <fcntl.h>
@@ -55,10 +56,6 @@
/* #define SOLIB_DEBUG
*/
-/* Defined in exec.c; used to prevent dangling pointer bug.
- */
-extern struct target_ops exec_ops;
-
/* This lives in hppa-tdep.c. */
extern struct unwind_table_entry *find_unwind_entry (CORE_ADDR pc);