* Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 24 Nov 2006 18:23:34 +0000 (18:23 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 24 Nov 2006 18:23:34 +0000 (18:23 +0000)
(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.

39 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/config/alpha/nm-osf.h
gdb/config/arm/nbsdaout.mh
gdb/config/cris/cris.mt
gdb/config/frv/tm-frv.h
gdb/config/i386/linux64.mt
gdb/config/i386/nbsdaout.mh
gdb/config/i386/nbsdelf.mh
gdb/config/i386/nm-fbsd.h
gdb/config/i386/nm-i386gnu.h
gdb/config/i386/nm-i386sco5.h
gdb/config/i386/nm-i386sol2.h
gdb/config/i386/nm-i386v4.h
gdb/config/i386/nm-i386v42mp.h
gdb/config/i386/obsdaout.mh
gdb/config/i386/tm-i386sol2.h
gdb/config/i386/tm-nto.h
gdb/config/m68k/linux.mt
gdb/config/m68k/nbsd.mt
gdb/config/m68k/nbsdaout.mh
gdb/config/m68k/obsd.mh
gdb/config/mips/nm-irix5.h
gdb/config/mips/tm-nbsd.h
gdb/config/nm-linux.h
gdb/config/nm-nbsd.h
gdb/config/pa/tm-hppah.h
gdb/config/powerpc/tm-ppc-eabi.h
gdb/config/rs6000/tm-rs6000.h
gdb/config/sh/tm-nbsd.h
gdb/config/sparc/linux.mt
gdb/config/sparc/linux64.mt
gdb/config/sparc/nbsdaout.mh
gdb/config/sparc/nm-sol2.h
gdb/config/sparc/tm-sol2.h
gdb/config/tm-linux.h
gdb/config/vax/nbsd.mt
gdb/mips-linux-tdep.c
gdb/nto-procfs.c

index 28a997d..63d1f3d 100644 (file)
@@ -1,3 +1,45 @@
+2006-11-24  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * 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.
+
 2006-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * NEWS: New port to Cell Broadband Engine SPU.
index 6ec2d2e..3782308 100644 (file)
@@ -2355,7 +2355,7 @@ mips-linux-nat.o: mips-linux-nat.c $(defs_h) $(mips_tdep_h) $(target_h) \
 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) $(symtab_h) $(symfile_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 119a036..927558c 100644 (file)
 
 #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 2e84c1b..b06044b 100644 (file)
@@ -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 9f91915..a7f484f 100644 (file)
@@ -1,2 +1 @@
 TDEPFILES= cris-tdep.o corelow.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
index 4374872..2c65f2c 100644 (file)
@@ -40,4 +40,3 @@ extern int frv_have_stopped_data_address(void);
 #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 a5839df..61167fb 100644 (file)
@@ -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 1614c4d..a14130a 100644 (file)
@@ -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 e49a49a..be18b4d 100644 (file)
@@ -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 504bed5..e29d9e4 100644 (file)
@@ -52,8 +52,4 @@ extern void i386bsd_dr_reset_addr (int regnum);
 extern unsigned long i386bsd_dr_get_status (void);
 \f
 
-/* Shared library support.  */
-
-#include "solib.h"
-
 #endif /* nm-fbsd.h */
index 8fe4d3e..e3b5eff 100644 (file)
@@ -34,9 +34,6 @@ extern char *gnu_target_pid_to_str (int pid);
 /* 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 aa9a910..a19afe1 100644 (file)
@@ -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 b71ee82..797b05c 100644 (file)
    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 c565c89..438dcac 100644 (file)
    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 c5abdc3..a49c4db 100644 (file)
 #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 20b975a..d60758a 100644 (file)
@@ -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 3dfbbbb..fa5c805 100644 (file)
@@ -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 670acc8..139167d 100644 (file)
@@ -26,6 +26,4 @@
 
 #include "config/tm-nto.h"
 
-#include "solib.h"
-
 #endif /* TM_NTO_H */
index 2eba02b..1582635 100644 (file)
@@ -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 db3e357..6baefd9 100644 (file)
@@ -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 2ca3fa5..09d2a12 100644 (file)
@@ -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 2873d8b..6103c41 100644 (file)
@@ -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 7f96293..a253973 100644 (file)
    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 c5da546..4e49082 100644 (file)
@@ -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 39e78cf..b866ea4 100644 (file)
@@ -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
-\f
-
 extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
 #define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
 
index 72f49c9..311d450 100644 (file)
@@ -21,4 +21,3 @@
 
 #define FETCH_INFERIOR_REGISTERS
 
-#include "solib.h"             /* Support for shared libraries. */
index 8d2f518..aca4d16 100644 (file)
@@ -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 d29b05d..009cb77 100644 (file)
@@ -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 8afd2ca..6fa1639 100644 (file)
@@ -90,9 +90,3 @@ extern CORE_ADDR (*rs6000_find_toc_address_hook) (CORE_ADDR);
 
 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 37dfe34..6aabe1e 100644 (file)
@@ -23,6 +23,5 @@
 #define TM_NBSD_H
 
 #include "sh/tm-sh.h"
-#include "solib.h"
 
 #endif /* TM_NBSD_H */
index 2fc5e22..2aad58e 100644 (file)
@@ -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 be7cfff..d9d0644 100644 (file)
@@ -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 bcfbbb3..e5f4f25 100644 (file)
@@ -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 bc9de3f..d95fe6e 100644 (file)
 #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 d4ca102..2644883 100644 (file)
@@ -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 942995f..7249893 100644 (file)
@@ -35,4 +35,3 @@
 
 #define SKIP_TRAMPOLINE_CODE(pc)  find_solib_trampoline_target (pc)
 
-#include "solib.h"             /* Support for shared libraries. */
index dfe746f..f4321f5 100644 (file)
@@ -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
index 5d789d2..a9948d6 100644 (file)
@@ -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 6dc056a..6a848f8 100644 (file)
@@ -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|\