diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-01-13 18:00:16 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-01-13 18:00:16 +0000 |
commit | 030292b70ecb623482264bd03ddf9ced4d9b0bbe (patch) | |
tree | f75fe864f2a5f72c5adc69fff2fc5b45e53b127a /gdb/defs.h | |
parent | f5ebfba0cad0523f81fe510be73c90edd6e2b17b (diff) | |
download | gdb-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |