From 669211f587585a5b8c9a925d51e9ac7724fbb101 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 11 Jun 2010 12:10:13 +0000 Subject: * config/nm-linux.h (struct target_ops): Remove forward declaration. (lin_thread_get_thread_signals): Remove prototype. (GET_THREAD_SIGNALS): Remove. * linux-nat.h (lin_thread_get_thread_signals): Add prototype. * linux-thread-db.c (check_thread_signals): Directly call lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS. --- gdb/linux-nat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/linux-nat.h') diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 5aba089eaf3..2858f08f545 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -118,6 +118,9 @@ void check_for_thread_db (void); int thread_db_attach_lwp (ptid_t ptid); +/* Return the set of signals used by the threads library. */ +extern void lin_thread_get_thread_signals (sigset_t *mask); + /* Find process PID's pending signal set from /proc/pid/status. */ void linux_proc_pending_signals (int pid, sigset_t *pending, sigset_t *blocked, sigset_t *ignored); -- cgit v1.2.1