aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-07-02 20:39:13 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-07-02 20:39:13 +0000
commit7d0e21ad840e4f5b3177e0801670a0555d2e4307 (patch)
tree787f9b7c20052a673ffe6a7e3519583e4d3f8544 /gdb
parent8775fd2d8dbaec2ffe735081cce31e259c3b0d44 (diff)
downloadgdb-7d0e21ad840e4f5b3177e0801670a0555d2e4307.zip
gdb-7d0e21ad840e4f5b3177e0801670a0555d2e4307.tar.gz
gdb-7d0e21ad840e4f5b3177e0801670a0555d2e4307.tar.bz2
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.
Diffstat (limited to 'gdb')
-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. */