summaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-07-16 20:45:17 +0000
committerDoug Evans <dje@google.com>2009-07-16 20:45:17 +0000
commit099cb4fb6ed86f09a068c7c2e42cc4d35a5103e7 (patch)
tree1bc3ce589f810f579ca7316b2665701e1b9f160a /gdb/linux-thread-db.c
parent456b0e2407650e5149308fb3fe21f750f9e32e1d (diff)
downloadbinutils-gdb-099cb4fb6ed86f09a068c7c2e42cc4d35a5103e7.tar.gz
* linux-thread.db.c (try_thread_db_load_1): Tweak comment.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r--gdb/linux-thread-db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 035d3c27aef..907739dfe70 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -725,12 +725,12 @@ try_thread_db_load_1 (struct thread_db_info *info)
enable_thread_event_reporting ();
- /* There appears to be a bug glibc-2.3.6: call to td_thr_get_info fails
+ /* There appears to be a bug in glibc-2.3.6: calls to td_thr_get_info fail
with TD_ERR for statically linked executables if td_thr_get_info is
called before glibc has initialized itself. Silently ignore such
- errors. */
-
+ errors, and let gdb enumerate threads again later. */
thread_db_find_new_threads_silently (inferior_ptid);
+
return 1;
}