aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-05-13 18:45:43 +0000
committerDoug Evans <dje@google.com>2011-05-13 18:45:43 +0000
commit7e0396aae0e22d466305c1e2a775ccc4888aab06 (patch)
treedafa91e040254534cf1c5be249c4f88a8f5b701b /gdb
parent06826322cb4f08925577babb026bccea870b7b12 (diff)
downloadgdb-7e0396aae0e22d466305c1e2a775ccc4888aab06.zip
gdb-7e0396aae0e22d466305c1e2a775ccc4888aab06.tar.gz
gdb-7e0396aae0e22d466305c1e2a775ccc4888aab06.tar.bz2
* gdb.texinfo (Threads): Clarify default value for libthread-db-search-path.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog2
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index d7a6c1d..ccdce9a 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,7 @@
2011-05-13 Doug Evans <dje@google.com>
+ * gdb.texinfo (Threads): Clarify default value for libthread-db-search-path.
+
* gdb.texinfo (Completion): Update example.
(Debugging Output): Delete `set/show debug lin-lwp-async'.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index aadbd70..f12bbe0 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2858,7 +2858,9 @@ watchpoints in programs with multiple threads.
If this variable is set, @var{path} is a colon-separated list of
directories @value{GDBN} will use to search for @code{libthread_db}.
If you omit @var{path}, @samp{libthread-db-search-path} will be reset to
-its default value.
+its default value (an empty list on @sc{gnu}/Linux and Solaris systems).
+Internally, the default value comes from the @code{LIBTHREAD_DB_SEARCH_PATH}
+macro.
On @sc{gnu}/Linux and Solaris systems, @value{GDBN} uses a ``helper''
@code{libthread_db} library to obtain information about threads in the