From 099cb4fb6ed86f09a068c7c2e42cc4d35a5103e7 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 16 Jul 2009 20:45:17 +0000 Subject: [PATCH] * linux-thread.db.c (try_thread_db_load_1): Tweak comment. --- gdb/ChangeLog | 6 +++++- gdb/linux-thread-db.c | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3935d86ecae..dfcd808b968 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,9 +1,13 @@ +2009-07-16 Doug Evans + + * linux-thread.db.c (try_thread_db_load_1): Tweak comment. + 2007-07-16 Paul Pluzhnikov * linux-thread-db.c (thread_db_find_new_threads_silently): New function. (try_thread_db_load_1): Call it. - + 2009-07-15 Doug Evans Code reorg in preparation for adding comdat types support. 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; } -- 2.30.2