diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-10-14 20:42:07 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-10-14 20:42:07 +0000 |
commit | a14bd2ea8937e02184939ebdeaa5a8a28473b5e9 (patch) | |
tree | 76e7b3040a450d095063b5bf75add539fe7c432f /gdb/config/i386 | |
parent | 8e4d17db0ec7c7417fd3329debba013076f96610 (diff) | |
download | gdb-a14bd2ea8937e02184939ebdeaa5a8a28473b5e9.zip gdb-a14bd2ea8937e02184939ebdeaa5a8a28473b5e9.tar.gz gdb-a14bd2ea8937e02184939ebdeaa5a8a28473b5e9.tar.bz2 |
* config/nm-linux.h (struct objfile): Remove forward declaration.
(linuxthreads_new_objfile): Remove prototype.
(linuxthreads_pid_to_str): Remove prototype.
(PREPARE_TO_PROCEED): Redefine in terms of
lin_lwp_prepare_to_proceed.
(struct target_waitstatus): Forward declaration.
(child_wait): New prototype.
(CHILD_WAIT): Define.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Moved here from arch-specific files.
* config/alpha/nm-linux.h, config/arm/nm-linux.h,
config/ia64/nm-linux.h, config/mips/nm-linux.h,
config/powerpc/nm-linux.h: Don't include <signal.h>.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Remove.
* config/i386/nm-linux.h: Likewise.
(struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
* config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
Remove linux-thread.o. Add proc-service.o, thread-db.o and
lin-lwp.o.
(LOADLIBES): New variable.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r-- | gdb/config/i386/nm-linux.h | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h index 089cb1b..8cc69ec 100644 --- a/gdb/config/i386/nm-linux.h +++ b/gdb/config/i386/nm-linux.h @@ -63,14 +63,7 @@ extern void i386_linux_dr_reset_addr (int regnum); extern unsigned long i386_linux_dr_get_status (void); #define I386_DR_LOW_GET_STATUS() \ i386_linux_dr_get_status () - -/* We define this if link.h is available, because with ELF we use SVR4 - style shared libraries. */ - -#ifdef HAVE_LINK_H -#define SVR4_SHARED_LIBS -#include "solib.h" /* Support for shared libraries. */ -#endif + /* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */ #define FETCH_INFERIOR_REGISTERS @@ -87,25 +80,4 @@ extern int cannot_store_register (int regno); /* Override child_resume in `infptrace.c'. */ #define CHILD_RESUME -/* Override child_wait in `inftarg.c'. */ -struct target_waitstatus; -extern ptid_t child_wait (ptid_t ptid, struct target_waitstatus *ourstatus); -#define CHILD_WAIT - -/* FIXME: kettenis/2000-09-03: This should be moved to ../nm-linux.h - once we have converted all Linux targets to use the new threads - stuff (without the #undef of course). */ - -extern int lin_lwp_prepare_to_proceed (void); -#undef PREPARE_TO_PROCEED -#define PREPARE_TO_PROCEED(select_it) lin_lwp_prepare_to_proceed () - -extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose); -#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose)) - -#include <signal.h> - -extern void lin_thread_get_thread_signals (sigset_t *mask); -#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask) - -#endif /* nm_linux.h */ +#endif /* nm-linux.h */ |