This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] Remove solib.h from host/target headers
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 24 Nov 2006 18:52:59 +0100 (CET)
- Subject: [RFA] Remove solib.h from host/target headers
Hello,
a significant number of host/target header files include "solib.h",
with a comment like /* Support for shared libraries. */. While this
may in the past have been true, today solib.h only contains some
function prototypes.
I've checked all host/target source files for usage of one of those
prototyped functions, and found just two of those in files that didn't
already include solib.h directly: mips-linux-tdep.c and nto-procfs.c.
This patch thus adds a solib.h include to those two files, and removes
every mention of solib.h from all config/ headers. In several cases,
this allows to completely remove a NAT_FILE or DEPRECATED_TM_FILE
macro setting.
Tested by building a mips-linux cross-gdb.
OK?
Bye,
Ulrich
ChangeLog:
* Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.
(nto-procfs.o): Likewise.
* mips-linux-tdep.c: Include "solib.h".
* nto-procfs.c: Likewise.
* config/nm-linux.h: Do not include "solib.h".
* config/nm-nbsd.h: Likewise.
* config/tm-linux.h: Likewise.
* config/alpha/nm-osf.h: Likewise.
* config/frv/tm-frv.h: Likewise.
* config/i386/nm-fbsh.h: Likewise.
* config/i386/nm-i386gnu.h: Likewise.
* config/i386/nm-i386sco5.h: Likewise.
* config/i386/nm-i386sol2.h: Likewise.
* config/i386/nm-i386v4.h: Likewise.
* config/i386/nm-i386v42mp.h: Likewise.
* config/i386/tm-i386sol2.h: Likewise.
* config/i386/tm-nto.h: Likewise.
* config/mips/nm-irix5.h: Likewise.
* config/mips/tm-nbsd.h: Likewise.
* config/pa/tm-hppah.h: Likewise.
* config/powerpc/tm-ppc-eabi.h: Likewise.
* config/rs6000/tm-rs6000.h: Likewise.
* config/sh/tm-nbsd.h: Likewise.
* config/sparc/nm-sol2.h: Likewise.
* config/sparc/tm-sol2.h: Likewise.
* config/arm/nbsdaout.mh: Remove NAT_FILE.
* config/i386/nbsdaout.mh: Likewise.
* config/i386/nbsdelf.mh: Likewise.
* config/i386/obsdaout.mh: Likewise.
* config/m68k/nbsdaout.mh: Likewise.
* config/m68k/obsd.mh: Likewise.
* config/sparc/nbsdaout.mh: Likewise.
* config/cris/cris.mt: Remove DEPRECATED_TM_FILE.
* config/i386/linux64.mt: Likewise.
* config/m68k/linux.mt: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/sparc/linux.mt: Likewise.
* config/sparc/linux64.mt: Likewise.
* config/vax/nbsd.mt: Likewise.
Index: gdb/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.850
diff -u -p -r1.850 Makefile.in
--- gdb/Makefile.in 22 Nov 2006 13:49:52 -0000 1.850
+++ gdb/Makefile.in 24 Nov 2006 17:14:56 -0000
@@ -2355,7 +2355,7 @@ mips-linux-nat.o: mips-linux-nat.c $(def
mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \
$(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \
$(gdb_assert_h) $(frame_h) $(regcache_h) $(trad_frame_h) \
- $(tramp_frame_h) $(floatformat_h) $(mips_linux_tdep_h)
+ $(tramp_frame_h) $(floatformat_h) $(solib_h) $(mips_linux_tdep_h)
mips-mdebug-tdep.o: mips-mdebug-tdep.c $(defs_h) $(frame_h) $(mips_tdep_h) \
$(trad_frame_h) $(block_h) $(symtab_h) $(objfiles_h) $(elf_mips_h) \
$(elf_bfd_h) $(gdb_assert_h) $(frame_unwind_h) $(frame_base_h) \
@@ -2404,7 +2404,7 @@ nlmread.o: nlmread.c $(defs_h) $(bfd_h)
$(objfiles_h) $(buildsym_h) $(stabsread_h) $(block_h)
nto-procfs.o: nto-procfs.c $(defs_h) $(gdb_dirent_h) $(exceptions_h) \
$(gdb_string_h) $(gdbcore_h) $(inferior_h) $(target_h) $(objfiles_h) \
- $(gdbthread_h) $(nto_tdep_h) $(command_h) $(regcache_h)
+ $(gdbthread_h) $(nto_tdep_h) $(command_h) $(regcache_h) $(solib_h)
nto-tdep.o: nto-tdep.c $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) $(top_h) \
$(cli_decode_h) $(cli_cmds_h) $(inferior_h) $(gdbarch_h) $(bfd_h) \
$(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h)
Index: gdb/mips-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-linux-tdep.c,v
retrieving revision 1.45
diff -u -p -r1.45 mips-linux-tdep.c
--- gdb/mips-linux-tdep.c 15 Mar 2006 17:13:36 -0000 1.45
+++ gdb/mips-linux-tdep.c 24 Nov 2006 17:14:57 -0000
@@ -33,6 +33,7 @@
#include "trad-frame.h"
#include "tramp-frame.h"
#include "floatformat.h"
+#include "solib.h"
#include "mips-linux-tdep.h"
/* Figure out where the longjmp will land.
Index: gdb/nto-procfs.c
===================================================================
RCS file: /cvs/src/src/gdb/nto-procfs.c,v
retrieving revision 1.18
diff -u -p -r1.18 nto-procfs.c
--- gdb/nto-procfs.c 18 Apr 2006 19:20:06 -0000 1.18
+++ gdb/nto-procfs.c 24 Nov 2006 17:14:57 -0000
@@ -43,6 +43,7 @@
#include "nto-tdep.h"
#include "command.h"
#include "regcache.h"
+#include "solib.h"
#define NULL_PID 0
#define _DEBUG_FLAG_TRACE (_DEBUG_FLAG_TRACE_EXEC|_DEBUG_FLAG_TRACE_RD|\
Index: gdb/config/nm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-linux.h,v
retrieving revision 1.25
diff -u -p -r1.25 nm-linux.h
--- gdb/config/nm-linux.h 10 Sep 2005 18:11:07 -0000 1.25
+++ gdb/config/nm-linux.h 24 Nov 2006 17:14:57 -0000
@@ -35,14 +35,6 @@ struct target_ops;
#define REALTIME_HI (__SIGRTMAX + 1)
#endif
-/* We define this if link.h is available, because with ELF we use SVR4
- style shared libraries. */
-
-#ifdef HAVE_LINK_H
-#include "solib.h" /* Support for shared libraries. */
-#endif
-
-
extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
Index: gdb/config/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-nbsd.h,v
retrieving revision 1.5
diff -u -p -r1.5 nm-nbsd.h
--- gdb/config/nm-nbsd.h 14 Aug 2004 23:56:49 -0000 1.5
+++ gdb/config/nm-nbsd.h 24 Nov 2006 17:14:57 -0000
@@ -21,4 +21,3 @@
#define FETCH_INFERIOR_REGISTERS
-#include "solib.h" /* Support for shared libraries. */
Index: gdb/config/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/tm-linux.h,v
retrieving revision 1.7
diff -u -p -r1.7 tm-linux.h
--- gdb/config/tm-linux.h 14 Nov 2004 02:56:34 -0000 1.7
+++ gdb/config/tm-linux.h 24 Nov 2006 17:14:57 -0000
@@ -35,4 +35,3 @@
#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc)
-#include "solib.h" /* Support for shared libraries. */
Index: gdb/config/alpha/nm-osf.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-osf.h,v
retrieving revision 1.9
diff -u -p -r1.9 nm-osf.h
--- gdb/config/alpha/nm-osf.h 15 Jan 2006 20:53:32 -0000 1.9
+++ gdb/config/alpha/nm-osf.h 24 Nov 2006 17:14:57 -0000
@@ -33,10 +33,6 @@
#define PTRACE_XFER_TYPE long
-/* Support for shared libraries. */
-
-#include "solib.h"
-
/* Given a pointer to either a gregset_t or fpregset_t, return a
pointer to the first register. */
#define ALPHA_REGSET_BASE(regsetp) ((regsetp)->regs)
Index: gdb/config/arm/nbsdaout.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/nbsdaout.mh,v
retrieving revision 1.3
diff -u -p -r1.3 nbsdaout.mh
--- gdb/config/arm/nbsdaout.mh 22 May 2005 20:36:19 -0000 1.3
+++ gdb/config/arm/nbsdaout.mh 24 Nov 2006 17:14:57 -0000
@@ -1,4 +1,3 @@
# Host: NetBSD/arm
NATDEPFILES= fork-child.o inf-ptrace.o corelow.o armnbsd-nat.o \
solib-sunos.o
-NAT_FILE= solib.h
Index: gdb/config/cris/cris.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/cris/cris.mt,v
retrieving revision 1.4
diff -u -p -r1.4 cris.mt
--- gdb/config/cris/cris.mt 13 Sep 2004 20:55:39 -0000 1.4
+++ gdb/config/cris/cris.mt 24 Nov 2006 17:14:57 -0000
@@ -1,2 +1 @@
TDEPFILES= cris-tdep.o corelow.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
Index: gdb/config/frv/tm-frv.h
===================================================================
RCS file: /cvs/src/src/gdb/config/frv/tm-frv.h,v
retrieving revision 1.7
diff -u -p -r1.7 tm-frv.h
--- gdb/config/frv/tm-frv.h 8 Oct 2004 17:30:48 -0000 1.7
+++ gdb/config/frv/tm-frv.h 24 Nov 2006 17:14:57 -0000
@@ -40,4 +40,3 @@ extern int frv_have_stopped_data_address
#define target_stopped_data_address(target, x) frv_stopped_data_address(x)
extern int frv_stopped_data_address(CORE_ADDR *addr_p);
-#include "solib.h" /* Include support for shared libraries. */
Index: gdb/config/i386/linux64.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/linux64.mt,v
retrieving revision 1.5
diff -u -p -r1.5 linux64.mt
--- gdb/config/i386/linux64.mt 13 Jun 2005 20:52:08 -0000 1.5
+++ gdb/config/i386/linux64.mt 24 Nov 2006 17:14:57 -0000
@@ -2,4 +2,3 @@
TDEPFILES= amd64-tdep.o amd64-linux-tdep.o \
i386-tdep.o i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
solib.o solib-svr4.o corelow.o symfile-mem.o
-DEPRECATED_TM_FILE= solib.h
Index: gdb/config/i386/nbsdaout.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsdaout.mh,v
retrieving revision 1.8
diff -u -p -r1.8 nbsdaout.mh
--- gdb/config/i386/nbsdaout.mh 9 Oct 2004 09:45:48 -0000 1.8
+++ gdb/config/i386/nbsdaout.mh 24 Nov 2006 17:14:57 -0000
@@ -2,6 +2,5 @@
NATDEPFILES= fork-child.o inf-ptrace.o \
i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o \
solib.o solib-sunos.o
-NAT_FILE= solib.h
LOADLIBES= -lkvm
Index: gdb/config/i386/nbsdelf.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsdelf.mh,v
retrieving revision 1.22
diff -u -p -r1.22 nbsdelf.mh
--- gdb/config/i386/nbsdelf.mh 9 Oct 2004 09:45:48 -0000 1.22
+++ gdb/config/i386/nbsdelf.mh 24 Nov 2006 17:14:57 -0000
@@ -1,6 +1,5 @@
# Host: NetBSD/i386 ELF
NATDEPFILES= fork-child.o inf-ptrace.o \
i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o
-NAT_FILE= solib.h
LOADLIBES= -lkvm
Index: gdb/config/i386/nm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-fbsd.h,v
retrieving revision 1.13
diff -u -p -r1.13 nm-fbsd.h
--- gdb/config/i386/nm-fbsd.h 11 Jan 2005 23:04:33 -0000 1.13
+++ gdb/config/i386/nm-fbsd.h 24 Nov 2006 17:14:57 -0000
@@ -52,8 +52,4 @@ extern void i386bsd_dr_reset_addr (int r
extern unsigned long i386bsd_dr_get_status (void);
-/* Shared library support. */
-
-#include "solib.h"
-
#endif /* nm-fbsd.h */
Index: gdb/config/i386/nm-i386gnu.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386gnu.h,v
retrieving revision 1.3
diff -u -p -r1.3 nm-i386gnu.h
--- gdb/config/i386/nm-i386gnu.h 30 Nov 2004 15:15:27 -0000 1.3
+++ gdb/config/i386/nm-i386gnu.h 24 Nov 2006 17:14:57 -0000
@@ -34,9 +34,6 @@ extern char *gnu_target_pid_to_str (int
/* Don't do wait_for_inferior on attach. */
#define ATTACH_NO_WAIT
-/* Use SVR4 style shared library support */
-#include "solib.h"
-
/* Thread flavors used in re-setting the T bit. */
#define THREAD_STATE_FLAVOR i386_REGS_SEGS_STATE
#define THREAD_STATE_SIZE i386_THREAD_STATE_COUNT
Index: gdb/config/i386/nm-i386sco5.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386sco5.h,v
retrieving revision 1.6
diff -u -p -r1.6 nm-i386sco5.h
--- gdb/config/i386/nm-i386sco5.h 3 Sep 2004 17:13:47 -0000 1.6
+++ gdb/config/i386/nm-i386sco5.h 24 Nov 2006 17:14:58 -0000
@@ -28,9 +28,6 @@
/* Basically, its a lot like the older versions ... */
#include "i386/nm-i386sco.h"
-/* ... but it can do a lot of SVR4 type stuff too. */
-#include "solib.h" /* Pick up shared library support. */
-
/* SCO is unlike other SVR4 systems in that it has SVR4 style shared
libs, with a slight twist. We expect 3 traps (2 for the exec and
one for the dynamic loader). After the third trap we insert the
Index: gdb/config/i386/nm-i386sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386sol2.h,v
retrieving revision 1.10
diff -u -p -r1.10 nm-i386sol2.h
--- gdb/config/i386/nm-i386sol2.h 30 Nov 2004 15:05:19 -0000 1.10
+++ gdb/config/i386/nm-i386sol2.h 24 Nov 2006 17:14:58 -0000
@@ -18,10 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Use SVR4 style shared library support */
-
-#include "solib.h"
-
/* SVR4 has /proc support, so use it instead of ptrace. */
#define USE_PROC_FS
Index: gdb/config/i386/nm-i386v4.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386v4.h,v
retrieving revision 1.6
diff -u -p -r1.6 nm-i386v4.h
--- gdb/config/i386/nm-i386v4.h 30 Nov 2004 15:05:19 -0000 1.6
+++ gdb/config/i386/nm-i386v4.h 24 Nov 2006 17:14:58 -0000
@@ -20,10 +20,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Use SVR4 style shared library support */
-
-#include "solib.h"
-
/* SVR4 has /proc support, so use it instead of ptrace. */
#define USE_PROC_FS
Index: gdb/config/i386/nm-i386v42mp.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386v42mp.h,v
retrieving revision 1.6
diff -u -p -r1.6 nm-i386v42mp.h
--- gdb/config/i386/nm-i386v42mp.h 30 Nov 2004 15:05:19 -0000 1.6
+++ gdb/config/i386/nm-i386v42mp.h 24 Nov 2006 17:14:58 -0000
@@ -23,10 +23,6 @@
#ifndef NM_I386V42MP_H
#define NM_I386V42MP_H
-/* Use SVR4 style shared library support */
-
-#include "solib.h"
-
/* SVR4 has /proc support, so use it instead of ptrace. */
#define USE_PROC_FS
Index: gdb/config/i386/obsdaout.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/obsdaout.mh,v
retrieving revision 1.7
diff -u -p -r1.7 obsdaout.mh
--- gdb/config/i386/obsdaout.mh 12 Jan 2005 20:36:59 -0000 1.7
+++ gdb/config/i386/obsdaout.mh 24 Nov 2006 17:14:58 -0000
@@ -2,6 +2,5 @@
NATDEPFILES= fork-child.o inf-ptrace.o \
i386bsd-nat.o i386nbsd-nat.o i386obsd-nat.o bsd-kvm.o \
solib.o solib-sunos.o
-NAT_FILE= solib.h
LOADLIBES= -lkvm
Index: gdb/config/i386/tm-i386sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-i386sol2.h,v
retrieving revision 1.17
diff -u -p -r1.17 tm-i386sol2.h
--- gdb/config/i386/tm-i386sol2.h 9 Apr 2004 23:09:04 -0000 1.17
+++ gdb/config/i386/tm-i386sol2.h 24 Nov 2006 17:14:58 -0000
@@ -22,8 +22,6 @@
#ifndef TM_I386SOL2_H
#define TM_I386SOL2_H 1
-#include "solib.h"
-
/* The SunPRO compiler puts out 0 instead of the address in N_SO symbols,
and for SunPRO 3.0, N_FUN symbols too. */
#define SOFUN_ADDRESS_MAYBE_MISSING
Index: gdb/config/i386/tm-nto.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-nto.h,v
retrieving revision 1.2
diff -u -p -r1.2 tm-nto.h
--- gdb/config/i386/tm-nto.h 6 Apr 2004 01:53:52 -0000 1.2
+++ gdb/config/i386/tm-nto.h 24 Nov 2006 17:14:58 -0000
@@ -26,6 +26,4 @@
#include "config/tm-nto.h"
-#include "solib.h"
-
#endif /* TM_NTO_H */
Index: gdb/config/m68k/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/linux.mt,v
retrieving revision 1.8
diff -u -p -r1.8 linux.mt
--- gdb/config/m68k/linux.mt 9 Feb 2005 15:58:50 -0000 1.8
+++ gdb/config/m68k/linux.mt 24 Nov 2006 17:14:58 -0000
@@ -1,3 +1,2 @@
# Target: Motorola m68k with a.out and ELF
TDEPFILES= m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o glibc-tdep.o symfile-mem.o
-DEPRECATED_TM_FILE= solib.h
Index: gdb/config/m68k/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nbsd.mt,v
retrieving revision 1.12
diff -u -p -r1.12 nbsd.mt
--- gdb/config/m68k/nbsd.mt 13 Sep 2004 20:55:40 -0000 1.12
+++ gdb/config/m68k/nbsd.mt 24 Nov 2006 17:14:58 -0000
@@ -1,3 +1,2 @@
# Target: NetBSD/m68k
TDEPFILES= m68k-tdep.o m68kbsd-tdep.o corelow.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
Index: gdb/config/m68k/nbsdaout.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nbsdaout.mh,v
retrieving revision 1.4
diff -u -p -r1.4 nbsdaout.mh
--- gdb/config/m68k/nbsdaout.mh 29 Nov 2004 15:53:13 -0000 1.4
+++ gdb/config/m68k/nbsdaout.mh 24 Nov 2006 17:14:58 -0000
@@ -1,6 +1,5 @@
# Host: NetBSD/m68k a.out
NATDEPFILES= m68kbsd-nat.o fork-child.o inf-ptrace.o \
solib.o solib-sunos.o
-NAT_FILE= solib.h
LOADLIBES= -lkvm
Index: gdb/config/m68k/obsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/obsd.mh,v
retrieving revision 1.4
diff -u -p -r1.4 obsd.mh
--- gdb/config/m68k/obsd.mh 29 Nov 2004 15:53:13 -0000 1.4
+++ gdb/config/m68k/obsd.mh 24 Nov 2006 17:14:58 -0000
@@ -1,6 +1,5 @@
# Host: OpenBSD/m68k
NATDEPFILES= m68kbsd-nat.o bsd-kvm.o fork-child.o inf-ptrace.o \
solib.o solib-sunos.o
-NAT_FILE= solib.h
LOADLIBES= -lkvm
Index: gdb/config/mips/nm-irix5.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/nm-irix5.h,v
retrieving revision 1.10
diff -u -p -r1.10 nm-irix5.h
--- gdb/config/mips/nm-irix5.h 30 Nov 2004 15:05:20 -0000 1.10
+++ gdb/config/mips/nm-irix5.h 24 Nov 2006 17:14:58 -0000
@@ -19,10 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Use SVR4 style shared library support */
-
-#include "solib.h"
-
/* SVR4 has /proc support, so use it instead of ptrace. */
#define USE_PROC_FS
Index: gdb/config/mips/tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-nbsd.h,v
retrieving revision 1.9
diff -u -p -r1.9 tm-nbsd.h
--- gdb/config/mips/tm-nbsd.h 31 Oct 2004 20:36:35 -0000 1.9
+++ gdb/config/mips/tm-nbsd.h 24 Nov 2006 17:14:58 -0000
@@ -22,8 +22,6 @@
#ifndef TM_NBSD_H
#define TM_NBSD_H
-#include "solib.h"
-
#undef SKIP_TRAMPOLINE_CODE
#undef DEPRECATED_IGNORE_HELPER_CALL
Index: gdb/config/pa/tm-hppah.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppah.h,v
retrieving revision 1.15
diff -u -p -r1.15 tm-hppah.h
--- gdb/config/pa/tm-hppah.h 13 Dec 2004 04:06:16 -0000 1.15
+++ gdb/config/pa/tm-hppah.h 24 Nov 2006 17:14:58 -0000
@@ -24,8 +24,6 @@
struct frame_info;
-#include "solib.h" /* Support for shared libraries. */
-
/* For HP-UX on PA-RISC we have an implementation
for the exception handling target op (in hppa-tdep.c) */
#define CHILD_ENABLE_EXCEPTION_CALLBACK
Index: gdb/config/powerpc/tm-ppc-eabi.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/tm-ppc-eabi.h,v
retrieving revision 1.11
diff -u -p -r1.11 tm-ppc-eabi.h
--- gdb/config/powerpc/tm-ppc-eabi.h 10 Oct 2003 02:40:19 -0000 1.11
+++ gdb/config/powerpc/tm-ppc-eabi.h 24 Nov 2006 17:14:58 -0000
@@ -34,7 +34,4 @@
it shouldn't be. */
#define SOFUN_ADDRESS_MAYBE_MISSING
-/* Use generic shared library machinery. */
-#include "solib.h"
-
#endif /* TM_PPC_EABI_H */
Index: gdb/config/rs6000/tm-rs6000.h
===================================================================
RCS file: /cvs/src/src/gdb/config/rs6000/tm-rs6000.h,v
retrieving revision 1.33
diff -u -p -r1.33 tm-rs6000.h
--- gdb/config/rs6000/tm-rs6000.h 2 Sep 2004 14:17:42 -0000 1.33
+++ gdb/config/rs6000/tm-rs6000.h 24 Nov 2006 17:14:58 -0000
@@ -90,9 +90,3 @@ extern CORE_ADDR (*rs6000_find_toc_addre
extern void (*rs6000_set_host_arch_hook) (int);
-/* We need solib.h for building cross debuggers. However, we don't want
- to clobber any special solib support required by native debuggers, so
- only include solib.h if SOLIB_ADD is not defined. */
-#ifndef SOLIB_ADD
-#include "solib.h"
-#endif
Index: gdb/config/sh/tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/tm-nbsd.h,v
retrieving revision 1.1
diff -u -p -r1.1 tm-nbsd.h
--- gdb/config/sh/tm-nbsd.h 8 May 2002 15:29:36 -0000 1.1
+++ gdb/config/sh/tm-nbsd.h 24 Nov 2006 17:14:58 -0000
@@ -23,6 +23,5 @@
#define TM_NBSD_H
#include "sh/tm-sh.h"
-#include "solib.h"
#endif /* TM_NBSD_H */
Index: gdb/config/sparc/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/linux.mt,v
retrieving revision 1.9
diff -u -p -r1.9 linux.mt
--- gdb/config/sparc/linux.mt 27 Feb 2006 06:14:51 -0000 1.9
+++ gdb/config/sparc/linux.mt 24 Nov 2006 17:14:58 -0000
@@ -1,4 +1,3 @@
# Target: GNU/Linux SPARC
TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o sparc-linux-tdep.o \
solib.o solib-svr4.o symfile-mem.o
-DEPRECATED_TM_FILE= solib.h
Index: gdb/config/sparc/linux64.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/linux64.mt,v
retrieving revision 1.6
diff -u -p -r1.6 linux64.mt
--- gdb/config/sparc/linux64.mt 27 Feb 2006 06:14:51 -0000 1.6
+++ gdb/config/sparc/linux64.mt 24 Nov 2006 17:14:58 -0000
@@ -2,4 +2,3 @@
TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o sparc64-linux-tdep.o \
sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \
solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
Index: gdb/config/sparc/nbsdaout.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nbsdaout.mh,v
retrieving revision 1.5
diff -u -p -r1.5 nbsdaout.mh
--- gdb/config/sparc/nbsdaout.mh 29 Nov 2004 11:20:10 -0000 1.5
+++ gdb/config/sparc/nbsdaout.mh 24 Nov 2006 17:14:58 -0000
@@ -1,6 +1,5 @@
# Host: NetBSD/sparc a.out
NATDEPFILES= fork-child.o inf-ptrace.o \
sparc-nat.o sparcnbsd-nat.o bsd-kvm.o solib-sunos.o
-NAT_FILE= solib.h
LOADLIBES= -lkvm
Index: gdb/config/sparc/nm-sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nm-sol2.h,v
retrieving revision 1.2
diff -u -p -r1.2 nm-sol2.h
--- gdb/config/sparc/nm-sol2.h 3 Jan 2004 10:08:45 -0000 1.2
+++ gdb/config/sparc/nm-sol2.h 24 Nov 2006 17:14:58 -0000
@@ -24,10 +24,6 @@
#define GDB_GREGSET_T prgregset_t
#define GDB_FPREGSET_T prfpregset_t
-/* Shared library support. */
-
-#include "solib.h"
-
/* Hardware wactchpoints. */
/* Solaris 2.6 and above can do HW watchpoints. */
Index: gdb/config/sparc/tm-sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sol2.h,v
retrieving revision 1.4
diff -u -p -r1.4 tm-sol2.h
--- gdb/config/sparc/tm-sol2.h 2 Sep 2004 14:17:44 -0000 1.4
+++ gdb/config/sparc/tm-sol2.h 24 Nov 2006 17:14:58 -0000
@@ -21,9 +21,6 @@
#ifndef TM_SOL2_H
#define TM_SOL2_H
-/* Shared library support. */
-#include "solib.h"
-
/* The Sun compilers (Sun ONE Studio, Forte Developer, Sun WorkShop,
SunPRO) compiler puts out 0 instead of the address in N_SO stabs.
Starting with SunPRO 3.0, the compiler does this for N_FUN stabs
Index: gdb/config/vax/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/vax/nbsd.mt,v
retrieving revision 1.5
diff -u -p -r1.5 nbsd.mt
--- gdb/config/vax/nbsd.mt 13 Sep 2004 20:55:42 -0000 1.5
+++ gdb/config/vax/nbsd.mt 24 Nov 2006 17:14:58 -0000
@@ -1,3 +1,2 @@
# Target: NetBSD/vax
TDEPFILES= vax-tdep.o vaxnbsd-tdep.o corelow.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com