aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-12-31 21:04:51 +0000
committerDaniel Jacobowitz <drow@false.org>2006-12-31 21:04:51 +0000
commit9ee57c332efe6e35ee95d8be28f89c320590e0a3 (patch)
tree534180cc1ea69fcb73a26a76247247003eecf013 /gdb/config
parent59f80f10887fdfa0299b22f33b11efa4ec069fee (diff)
downloadgdb-9ee57c332efe6e35ee95d8be28f89c320590e0a3.zip
gdb-9ee57c332efe6e35ee95d8be28f89c320590e0a3.tar.gz
gdb-9ee57c332efe6e35ee95d8be28f89c320590e0a3.tar.bz2
* linux-nat.c (lin_lwp_attach_lwp): Return a status. Do not
add the LWP to our list until we are attached. Warn instead of erroring if the attach fails. * linux-nat.h (lin_lwp_attach_lwp): New prototype. * linux-thread-db.c (attach_thread): Call lin_lwp_attach_lwp directly. Do not add the thread to our list until we are successfully attached. * config/nm-linux.h (lin_lwp_attach_lwp, ATTACH_LWP): Delete.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/nm-linux.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h
index b79875e..7c06862 100644
--- a/gdb/config/nm-linux.h
+++ b/gdb/config/nm-linux.h
@@ -1,6 +1,6 @@
/* Native support for GNU/Linux.
- Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005
+ Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This file is part of GDB.
@@ -25,9 +25,6 @@ struct target_ops;
/* GNU/Linux is SVR4-ish but its /proc file system isn't. */
#undef USE_PROC_FS
-extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
-#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
-
extern void lin_thread_get_thread_signals (sigset_t *mask);
#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)