From 4646aa9d0b2c830d18d5b0ead2024cd222e7f9ee Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 23 Oct 2003 03:01:55 +0000 Subject: 2003-10-22 Andrew Cagney * 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. --- gdb/somsolib.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/somsolib.c') 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 @@ -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); -- cgit v1.1