aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-01-09 21:34:30 +0000
committerDaniel Jacobowitz <drow@false.org>2007-01-09 21:34:30 +0000
commitaa28a74efb2773e42c35302b4e8a2e0510cb2858 (patch)
treee83dee8aa1fbd91d10a019e93e37c1eea6d37fce /gdb/defs.h
parent1cfd2c3eed930ee8a6e074d73f77f86d3c151546 (diff)
downloadfsf-binutils-gdb-aa28a74efb2773e42c35302b4e8a2e0510cb2858.zip
fsf-binutils-gdb-aa28a74efb2773e42c35302b4e8a2e0510cb2858.tar.gz
fsf-binutils-gdb-aa28a74efb2773e42c35302b4e8a2e0510cb2858.tar.bz2
* configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
exec_prefix. (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being '${prefix}'. * configure, config.in: Regenerate. * defs.h (debug_file_directory): Declare. * main.c (captured_main): Canonicalize gdb_sysroot. Assume TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and relocate it if DEBUGDIR_RELOCATABLE. * symfile.c (debug_file_directory): Make non-static. (find_separate_debug_file): Look for debug info for SYSROOT/PATH in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. (_initialize_symfile): Don't initialize debug_file_directory here.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 3ab633e..c7e6d3a 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -167,6 +167,9 @@ extern int dbx_commands;
/* System root path, used to find libraries etc. */
extern char *gdb_sysroot;
+/* Search path for separate debug files. */
+extern char *debug_file_directory;
+
extern int quit_flag;
extern int immediate_quit;
extern int sevenbit_strings;