summaryrefslogtreecommitdiff
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
commit38249531e04d19bfe9f6c938c7feab682dbbdeb1 (patch)
tree5e4913049970f19e3190a3df9fd092d32d5fd438 /gdb/somsolib.c
parent4f202b400a35996ca3bfc2a1e370b29eb5d601ac (diff)
downloadgdb-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/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 e013fd88d38..b2a833cbada 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);