summaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-04-23 21:28:16 +0000
committerTom Tromey <tromey@redhat.com>2009-04-23 21:28:16 +0000
commit7cf3956abffb5b35508e4d2dcda4a170819458cf (patch)
tree11257bbb0033f85ab45c5a68645ae114eda71cd5 /gdb/config.in
parent74d014327a14fc6f8e891e1544514341e347f9cb (diff)
downloadgdb-7cf3956abffb5b35508e4d2dcda4a170819458cf.tar.gz
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 1bfd8375c30..d4d44692170 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