aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-04-23 21:28:20 +0000
committerTom Tromey <tromey@redhat.com>2009-04-23 21:28:20 +0000
commitb14b1491f237a685a00ba669fb8410ae9ee7f648 (patch)
tree0d95cea6581f1777f0f83662fa7ae9840cdfd805 /gdb/config.in
parent5e7b5f74c234fb11db064df93e309463a9058740 (diff)
downloadgdb-b14b1491f237a685a00ba669fb8410ae9ee7f648.zip
gdb-b14b1491f237a685a00ba669fb8410ae9ee7f648.tar.gz
gdb-b14b1491f237a685a00ba669fb8410ae9ee7f648.tar.bz2
gdb
2009-04-23 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> Tom Tromey <tromey@redhat.com> * configure, config.in: Regenerate. * configure.ac: Support for relocatable GDB datadir. Use GDB_AC_WITH_DIR. Always define TARGET_SYSTEM_ROOT_RELOCATABLE. * acinclude.m4 (GDB_AC_WITH_DIR): New defun. * top.c (init_main): Add "set data-directory". * defs.h (gdb_datadir): Declare. * main.c (gdb_datadir): New global. (captured_main): Initialize gdb_datadir. Use relocate_directory. (relocate_path): New function. (relocate_directory): Likewise. (get_init_files): Use relocate_path. (README): Mention --with-gdb-datadir. gdb/doc 2009-04-23 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Data Files): New node. (GDB Files): Update menu.
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/gdb/config.in b/gdb/config.in
index 1bfd837..d4d4469 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -26,10 +26,11 @@
/* Define to 1 if using `alloca.c'. */
#undef C_ALLOCA
-/* Global directory for separate debug files. */
+/* look for global separate debug info in this path [LIBDIR/debug] */
#undef DEBUGDIR
-/* Define if the debug directory should be relocated when GDB is moved. */
+/* Define if the separate-debug-dir directory should be relocated when GDB is
+ moved. */
#undef DEBUGDIR_RELOCATABLE
/* Define to BFD's default architecture. */
@@ -42,6 +43,13 @@
language is requested. */
#undef ENABLE_NLS
+/* look for global separate data files in this path [DATADIR/gdb] */
+#undef GDB_DATADIR
+
+/* Define if the gdb-datadir directory should be relocated when GDB is moved.
+ */
+#undef GDB_DATADIR_RELOCATABLE
+
/* Define to be a string naming the default host character set. */
#undef GDB_DEFAULT_HOST_CHARSET
@@ -670,10 +678,10 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
-/* System-wide gdbinit file. */
+/* automatically load a system-wide gdbinit file */
#undef SYSTEM_GDBINIT
-/* Define if the system-wide gdbinit file should be relocated when GDB is
+/* Define if the system-gdbinit directory should be relocated when GDB is
moved. */
#undef SYSTEM_GDBINIT_RELOCATABLE