From 7d0e21ad840e4f5b3177e0801670a0555d2e4307 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 2 Jul 2012 20:39:13 +0000 Subject: [PATCH] gdb/ * linux-thread-db.c (thread_db_new_objfile): Fix comment typos. Plus add in an already checked in file: (thread_db_new_objfile): Exclude debug files. --- gdb/ChangeLog | 5 +++++ gdb/linux-thread-db.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c07c8678dad..52bc5ed5f2a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-02 Jan Kratochvil + + * linux-thread-db.c (thread_db_new_objfile): Fix comment typos. + 2012-07-02 Jan Kratochvil * config.in: Regenerate. @@ -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, diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 5073d7e1ead..7f8f83e79ea 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -1186,7 +1186,7 @@ thread_db_new_objfile (struct objfile *objfile) 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. */ -- 2.30.2