aboutsummaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index ed1a803..c152b44 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -668,8 +668,7 @@ check_for_thread_db (void)
static void
sol_thread_new_objfile (struct objfile *objfile)
{
- if (objfile != NULL)
- check_for_thread_db ();
+ check_for_thread_db ();
}
/* Clean up after the inferior dies. */