'inferior' keyword with either the 'thread' or 'task' keywords when
creating a breakpoint.
+* Configure changes
+
+--additional-debug-dirs=PATHs
+
+ Provide a colon-separated list of additional directories to search for
+ separate debug info. These directories are added to the default value of
+ the 'debug-file-directory' GDB parameter.
+
* New commands
set debug breakpoint on|off
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
+/* Additional directories to look for separate debug info. */
+#undef ADDITIONAL_DEBUG_DIRS
+
/* Directories from which to load auto-loaded scripts. */
#undef AUTO_LOAD_DIR
with_gnu_ld
enable_libtool_lock
with_separate_debug_dir
+with_additional_debug_dirs
with_gdb_datadir
with_relocated_sources
with_auto_load_dir
--with-separate-debug-dir=PATH
look for global separate debug info in this path
[LIBDIR/debug]
+ --with-additional-debug-dirs=PATHs
+ colon-separated list of additional directories to
+ search for separate debug info
--with-gdb-datadir=PATH look for global separate data files in this path
[DATADIR/gdb]
--with-relocated-sources=PATH
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11482 "configure"
+#line 11486 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11588 "configure"
+#line 11592 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
+
+# Check whether --with-additional-debug-dirs was given.
+if test "${with_additional_debug_dirs+set}" = set; then :
+ withval=$with_additional_debug_dirs;
+cat >>confdefs.h <<_ACEOF
+#define ADDITIONAL_DEBUG_DIRS "${withval}"
+_ACEOF
+
+fi
+
+
# We can't pass paths as command line arguments.
# Mingw32 tries to be clever and will convert the paths for us.
# For example -DBINDIR="/usr/local/bin" passed on the command line may get
[look for global separate debug info in this path @<:@LIBDIR/debug@:>@],
[${libdir}/debug])
+AC_ARG_WITH(additional-debug-dirs,
+ AS_HELP_STRING([--with-additional-debug-dirs=PATHs],
+ [colon-separated list of additional directories to
+ search for separate debug info]),
+ [AC_DEFINE_UNQUOTED(ADDITIONAL_DEBUG_DIRS, "${withval}",
+ Additional directories to look for separate
+ debug info.)])
+
# We can't pass paths as command line arguments.
# Mingw32 tries to be clever and will convert the paths for us.
# For example -DBINDIR="/usr/local/bin" passed on the command line may get
@anchor{debug-file-directory}
Global debugging info directories default to what is set by @value{GDBN}
-configure option @option{--with-separate-debug-dir}. During @value{GDBN} run
-you can also set the global debugging info directories, and view the list
+configure option @option{--with-separate-debug-dir} and augmented by the
+colon-separated list of directories provided via @value{GDBN} configure
+option @option{--additional-debug-dirs}. During @value{GDBN} run you can
+also set the global debugging info directories, and view the list
@value{GDBN} is currently using.
@table @code
debug_file_directory
= relocate_gdb_directory (DEBUGDIR, DEBUGDIR_RELOCATABLE);
+#ifdef ADDITIONAL_DEBUG_DIRS
+ debug_file_directory = (debug_file_directory + DIRNAME_SEPARATOR
+ + ADDITIONAL_DEBUG_DIRS);
+#endif
+
gdb_datadir = relocate_gdb_directory (GDB_DATADIR,
GDB_DATADIR_RELOCATABLE);
--with-separate-debug-dir=%s%s\n\
"), DEBUGDIR, DEBUGDIR_RELOCATABLE ? " (relocatable)" : "");
+#ifdef ADDITIONAL_DEBUG_DIRS
+ gdb_printf (stream, _ ("\
+ --with-additional-debug-dirs=%s\n\
+"), ADDITIONAL_DEBUG_DIRS);
+#endif
+
if (TARGET_SYSTEM_ROOT[0])
gdb_printf (stream, _("\
--with-sysroot=%s%s\n\