aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/linux-thread-db.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c07c867..52bc5ed 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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,
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 5073d7e..7f8f83e 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. */