aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-05-10 18:45:22 +0000
committerDoug Evans <dje@google.com>2011-05-10 18:45:22 +0000
commit2471d0083c54a1474b907a1cc3637baa93d12eb7 (patch)
treecbddeeb49ee524259d896c632461224306782e43
parent84e578fbe67910f19ed0bbbc4e8aebd0f87c462a (diff)
downloadgdb-2471d0083c54a1474b907a1cc3637baa93d12eb7.zip
gdb-2471d0083c54a1474b907a1cc3637baa93d12eb7.tar.gz
gdb-2471d0083c54a1474b907a1cc3637baa93d12eb7.tar.bz2
* linux-thread-db.c: Whitespace cleanup.
(try_thread_db_load_1): Fix comment.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/linux-thread-db.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4cf559c..30c4078 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2011-05-10 Doug Evans <dje@google.com>
+ * linux-thread-db.c: Whitespace cleanup.
+ (try_thread_db_load_1): Fix comment.
+
* linux-thread-db.c (set_libthread_db_search_path): New function.
(_initialize_thread_db): Add setter for libthread-db-search-path.
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 4203518..43dda48 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -97,7 +97,6 @@ show_libthread_db_debug (struct ui_file *file, int from_tty,
fprintf_filtered (file, _("libthread-db debugging is %s.\n"), value);
}
-
/* If we're running on GNU/Linux, we must explicitly attach to any new
threads. */
@@ -650,7 +649,7 @@ dladdr_to_soname (const void *addr)
return NULL;
}
-/* Attempt to initialize dlopen()ed libthread_db, described by HANDLE.
+/* Attempt to initialize dlopen()ed libthread_db, described by INFO.
Return 1 on success.
Failure could happen if libthread_db does not have symbols we expect,
or when it refuses to work with the current inferior (e.g. due to
@@ -813,7 +812,6 @@ try_thread_db_load (const char *library)
return 0;
}
-
/* Search libthread_db_search_path for libthread_db which "agrees"
to work on current inferior. */