diff options
-rw-r--r-- | gdb/sol-thread.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 156c152..aa909ad 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -453,11 +453,9 @@ sol_thread_attach (char *args, int from_tty) { procfs_ops.to_attach (args, from_tty); - if (auto_solib_add) - { - /* Must get symbols from solibs before libthread_db can run! */ - SOLIB_ADD ((char *) 0, from_tty, (struct target_ops *) 0); - } + /* Must get symbols from solibs before libthread_db can run! */ + SOLIB_ADD ((char *) 0, from_tty, (struct target_ops *) 0); + if (sol_thread_active) { printf_filtered ("sol-thread active.\n"); |