From a14bd2ea8937e02184939ebdeaa5a8a28473b5e9 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 14 Oct 2001 20:42:07 +0000 Subject: * 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 . (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. --- gdb/config/mips/nm-linux.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'gdb/config/mips') diff --git a/gdb/config/mips/nm-linux.h b/gdb/config/mips/nm-linux.h index 27fb1b1..16b241d 100644 --- a/gdb/config/mips/nm-linux.h +++ b/gdb/config/mips/nm-linux.h @@ -47,20 +47,4 @@ int mips_linux_cannot_store_register (int regno); #define CANNOT_FETCH_REGISTER(regno) mips_linux_cannot_fetch_register (regno) #define CANNOT_STORE_REGISTER(regno) mips_linux_cannot_store_register (regno) -/* FIXME: 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 - -extern void lin_thread_get_thread_signals (sigset_t *mask); -#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask) - #endif /* NM_MIPSLINUX_H */ -- cgit v1.1