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-thread-db.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/linux-thread-db.c') diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 2b1fb70..6cbf6c3 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -928,13 +928,12 @@ disable_thread_event_reporting (struct thread_db_info *info) static void check_thread_signals (void) { -#ifdef GET_THREAD_SIGNALS if (!thread_signals) { sigset_t mask; int i; - GET_THREAD_SIGNALS (&mask); + lin_thread_get_thread_signals (&mask); sigemptyset (&thread_stop_set); sigemptyset (&thread_print_set); @@ -950,7 +949,6 @@ check_thread_signals (void) } } } -#endif } /* Check whether thread_db is usable. This function is called when -- cgit v1.1