* 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.
This commit is contained in:
Ulrich Weigand 2006-11-24 18:23:34 +00:00
parent cefdba3983
commit 5ea03926ac
39 changed files with 46 additions and 82 deletions

View 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.

View 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)

View File

@ -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)

View 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

View File

@ -1,2 +1 @@
TDEPFILES= cris-tdep.o corelow.o solib.o solib-svr4.o
DEPRECATED_TM_FILE= solib.h

View 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. */

View 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

View 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

View 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

View File

@ -52,8 +52,4 @@ extern void i386bsd_dr_reset_addr (int regnum);
extern unsigned long i386bsd_dr_get_status (void);
/* Shared library support. */
#include "solib.h"
#endif /* nm-fbsd.h */

View 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

View 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

View File

@ -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

View File

@ -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

View File

@ -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

View 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

View 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

View File

@ -26,6 +26,4 @@
#include "config/tm-nto.h"
#include "solib.h"
#endif /* TM_NTO_H */

View 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

View 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

View 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

View 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

View File

@ -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

View 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

View 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
extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))

View File

@ -21,4 +21,3 @@
#define FETCH_INFERIOR_REGISTERS
#include "solib.h" /* Support for shared libraries. */

View 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

View 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 */

View 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

View File

@ -23,6 +23,5 @@
#define TM_NBSD_H
#include "sh/tm-sh.h"
#include "solib.h"
#endif /* TM_NBSD_H */

View 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

View 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

View 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

View File

@ -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. */

View 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

View File

@ -35,4 +35,3 @@
#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc)
#include "solib.h" /* Support for shared libraries. */

View 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

View 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.

View 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|\