aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-13 18:00:16 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-13 18:00:16 +0000
commit030292b70ecb623482264bd03ddf9ced4d9b0bbe (patch)
treef75fe864f2a5f72c5adc69fff2fc5b45e53b127a /gdb/defs.h
parentf5ebfba0cad0523f81fe510be73c90edd6e2b17b (diff)
downloadgdb-030292b70ecb623482264bd03ddf9ced4d9b0bbe.zip
gdb-030292b70ecb623482264bd03ddf9ced4d9b0bbe.tar.gz
gdb-030292b70ecb623482264bd03ddf9ced4d9b0bbe.tar.bz2
* Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
variables. (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). * configure.in: Add --with-sysroot. * configure: Regenerated. * main.c (gdb_sysroot): New variable. (captured_main): Initialize gdb_sysroot. * defs.h (gdb_sysroot): New extern declaration. * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 3ca6847..c72a539 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1,7 +1,7 @@
/* *INDENT-OFF* */ /* ATTR_FORMAT confuses indent, avoid running it for now */
/* Basic, host-specific, and target-specific definitions for GDB.
Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, 2001, 2002
+ 1997, 1998, 1999, 2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of GDB.
@@ -169,6 +169,9 @@ extern int xdb_commands;
/* enable dbx commands if set */
extern int dbx_commands;
+/* System root path, used to find libraries etc. */
+extern char *gdb_sysroot;
+
extern int quit_flag;
extern int immediate_quit;
extern int sevenbit_strings;