* linux-thread.db.c (try_thread_db_load_1): Tweak comment.
authorDoug Evans <dje@google.com>
Thu, 16 Jul 2009 20:45:17 +0000 (20:45 +0000)
committerDoug Evans <dje@google.com>
Thu, 16 Jul 2009 20:45:17 +0000 (20:45 +0000)
gdb/ChangeLog
gdb/linux-thread-db.c

index 3935d86..dfcd808 100644 (file)
@@ -1,9 +1,13 @@
+2009-07-16  Doug Evans  <dje@google.com>
+
+       * linux-thread.db.c (try_thread_db_load_1): Tweak comment.
+
 2007-07-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        * linux-thread-db.c (thread_db_find_new_threads_silently):
        New function.
        (try_thread_db_load_1): Call it.
-       
+
 2009-07-15  Doug Evans  <dje@google.com>
 
        Code reorg in preparation for adding comdat types support.
index 035d3c2..907739d 100644 (file)
@@ -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;
 }