aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2010-07-31 15:34:41 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2010-07-31 15:34:41 +0000
commit02d868e86d67fb808a08df5fcd6446fbb8b16288 (patch)
tree7fdddc45407cf6c0776031ee2db929a0922ee4fb /gdb/doc
parent310444acc2ef45047e861d599e8c37393180036d (diff)
downloadgdb-02d868e86d67fb808a08df5fcd6446fbb8b16288.zip
gdb-02d868e86d67fb808a08df5fcd6446fbb8b16288.tar.gz
gdb-02d868e86d67fb808a08df5fcd6446fbb8b16288.tar.bz2
2010-07-31 Paul Pluzhnikov <ppluzhnikov@google.com>
* linux-thread-db.c (libthread_db_debug): New variable. (thread_db_find_new_threads_silently): Control verbosity with it. (try_thread_db_load_1, try_thread_db_load): Likewise. (find_new_threads_once): Likewise. (_initialize_thread_db): Set/show it. doc/ChangeLog 2010-07-31 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.texinfo (Threads): Document 'debug libthread-db'.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo8
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6253af4..f0f515c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-31 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * gdb.texinfo (Threads): Document 'debug libthread-db'.
+
2010-07-30 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Index Files): Mention gdb-add-index.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index b49b53e..03b59a3 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2864,6 +2864,14 @@ only on some platforms.
@kindex show libthread-db-search-path
@item show libthread-db-search-path
Display current libthread_db search path.
+
+@kindex set debug libthread-db
+@kindex show debug libthread-db
+@cindex debugging @code{libthread_db}
+@item set debug libthread-db
+@itemx show debug libthread-db
+Turns on or off display of @code{libthread_db}-related events.
+Use @code{1} to enable, @code{0} to disable.
@end table
@node Forks