From 7e0396aae0e22d466305c1e2a775ccc4888aab06 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 13 May 2011 18:45:43 +0000 Subject: [PATCH] * gdb.texinfo (Threads): Clarify default value for libthread-db-search-path. --- gdb/doc/ChangeLog | 2 ++ gdb/doc/gdb.texinfo | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index d7a6c1da0b..ccdce9a50c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,7 @@ 2011-05-13 Doug Evans + * 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 aadbd70c4f..f12bbe072f 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