(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-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.
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) \
$(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)
#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)
# Host: NetBSD/arm
NATDEPFILES= fork-child.o inf-ptrace.o corelow.o armnbsd-nat.o \
solib-sunos.o
-NAT_FILE= solib.h
TDEPFILES= cris-tdep.o corelow.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
#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. */
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
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
# 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
extern unsigned long i386bsd_dr_get_status (void);
\f
-/* Shared library support. */
-
-#include "solib.h"
-
#endif /* nm-fbsd.h */
/* 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
/* 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
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
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
#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
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
#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
#include "config/tm-nto.h"
-#include "solib.h"
-
#endif /* TM_NTO_H */
# 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
# Target: NetBSD/m68k
TDEPFILES= m68k-tdep.o m68kbsd-tdep.o corelow.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
# 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
# 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
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
#ifndef TM_NBSD_H
#define TM_NBSD_H
-#include "solib.h"
-
#undef SKIP_TRAMPOLINE_CODE
#undef DEPRECATED_IGNORE_HELPER_CALL
#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))
#define FETCH_INFERIOR_REGISTERS
-#include "solib.h" /* Support for shared libraries. */
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
it shouldn't be. */
#define SOFUN_ADDRESS_MAYBE_MISSING
-/* Use generic shared library machinery. */
-#include "solib.h"
-
#endif /* TM_PPC_EABI_H */
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
#define TM_NBSD_H
#include "sh/tm-sh.h"
-#include "solib.h"
#endif /* TM_NBSD_H */
# 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
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
# 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
#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. */
#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
#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc)
-#include "solib.h" /* Support for shared libraries. */
# Target: NetBSD/vax
TDEPFILES= vax-tdep.o vaxnbsd-tdep.o corelow.o solib.o solib-svr4.o
-DEPRECATED_TM_FILE= solib.h
#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.
#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|\