diff options
author | Daniel Jacobowitz <dan@debian.org> | 2003-01-13 18:00:16 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2003-01-13 18:00:16 +0000 |
commit | 7ccc7eff1457c17afdce73d5c5fa8839efce2e99 (patch) | |
tree | fb62f4894332b1c96736f317a8aed3fa846cb1ba /gdb/defs.h | |
parent | c05432a04386b4e70270833dea6b6c848daf387d (diff) | |
download | gdb-7ccc7eff1457c17afdce73d5c5fa8839efce2e99.tar.gz |
* 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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h index 3ca68475b08..c72a539e845 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; |