From dc17571df26dc5b1eacb9f993f577a6a027866e5 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 14 Oct 2001 20:59:23 +0000 Subject: [PATCH] * 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/ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a18f0c38848..28563c0af3c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,27 @@ 2001-10-14 Mark Kettenis + * 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. + * sparc-nat.c (fetch_core_registers): Remove redundant prototype. * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build. -- 2.30.2