From: Doug Evans Date: Thu, 16 Jul 2009 20:45:17 +0000 (+0000) Subject: * linux-thread.db.c (try_thread_db_load_1): Tweak comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=099cb4fb6ed86f09a068c7c2e42cc4d35a5103e7;p=binutils-gdb.git * linux-thread.db.c (try_thread_db_load_1): Tweak comment. --- 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; }