This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit; already] [patch] Reduce number of libthread_db load attempts


On Mon, 21 May 2012 21:30:15 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* linux-thread-db.c (thread_db_new_objfile): Exclude debug files.

I have found this patch went in already accidentally with:
	[patchv2 1/2] 7.3 regression for corrupted core files threads
	http://sourceware.org/ml/gdb-patches/2012-05/msg00853.html

so just updated its ChangeLog entry and fixed its typos.


Sorry,
Jan


http://sourceware.org/ml/gdb-cvs/2012-07/msg00021.html

--- src/gdb/ChangeLog	2012/07/02 20:31:06	1.14427
+++ src/gdb/ChangeLog	2012/07/02 20:39:12	1.14428
@@ -1,5 +1,9 @@
 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
+	* linux-thread-db.c (thread_db_new_objfile): Fix comment typos.
+
+2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
 	* config.in: Regenerate.
 	* configure: Regenerate.
 	* configure.ac: Remove check for gnu/libc-version.h.
@@ -16,6 +20,7 @@
 	inferior_has_bug, describe it in the comments.
 	(try_thread_db_load_1): Move call to thread_db_find_new_threads_silently
 	earlier.  Abort the initialization if it returned non-zero.
+	(thread_db_new_objfile): Exclude debug files.
 	(thread_db_find_new_threads_2): Preinitialize ERR.  Check errors also
 	if UNTIL_NO_NEW,
 
--- src/gdb/linux-thread-db.c	2012/07/02 20:31:09	1.102
+++ src/gdb/linux-thread-db.c	2012/07/02 20:39:13	1.103
@@ -1186,7 +1186,7 @@
 
   if (objfile != NULL
       /* libpthread with separate debug info has its debug info file already
-	 loaded (and notified without successfult thread_db initialization))
+	 loaded (and notified without successful thread_db initialization)
 	 the time observer_notify_new_objfile is called for the library itself.
 	 Static executables have their separate debug info loaded already
 	 before the inferior has started.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]