aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-06-11 12:10:13 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-06-11 12:10:13 +0000
commit669211f587585a5b8c9a925d51e9ac7724fbb101 (patch)
tree6af53f3c57712f5d455ed7dd2a6ec7d208d5606c /gdb/linux-thread-db.c
parentb7a8b4ef6b4203072015422e0601440f60f29adb (diff)
downloadgdb-669211f587585a5b8c9a925d51e9ac7724fbb101.zip
gdb-669211f587585a5b8c9a925d51e9ac7724fbb101.tar.gz
gdb-669211f587585a5b8c9a925d51e9ac7724fbb101.tar.bz2
* 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.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r--gdb/linux-thread-db.c4
1 files changed, 1 insertions, 3 deletions
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