aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-12-07 17:26:06 +0000
committerDoug Evans <dje@google.com>2010-12-07 17:26:06 +0000
commitaae1c79a03aa76ca68e9a989e7652703178362f0 (patch)
tree26d741796b72507358fc01ea1d5ae36e5c18b587 /gdb/testsuite/lib/gdb.exp
parentc20cbc067b6fa714b4dc3e6d4025d5b11d605c80 (diff)
downloadgdb-aae1c79a03aa76ca68e9a989e7652703178362f0.zip
gdb-aae1c79a03aa76ca68e9a989e7652703178362f0.tar.gz
gdb-aae1c79a03aa76ca68e9a989e7652703178362f0.tar.bz2
PR python/12227
* NEWS: Mention -data-directory. * main.c (captured_main): Recognize -data-directory. doc/ * gdb.texinfo (Mode Options): Document -data-directory. (Data Files): Add reference to -data-directory. testsuite/ * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting of data-directory. * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers updated. * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r--gdb/testsuite/lib/gdb.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index fc8751f..50e2c70 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -56,7 +56,7 @@ verbose "using GDBFLAGS = $GDBFLAGS" 2
# INTERNAL_GDBFLAGS contains flags that the testsuite requires.
global INTERNAL_GDBFLAGS
if ![info exists INTERNAL_GDBFLAGS] {
- set INTERNAL_GDBFLAGS "-nw -nx"
+ set INTERNAL_GDBFLAGS "-nw -nx -data-directory [pwd]/../data-directory"
}
# The variable gdb_prompt is a regexp which matches the gdb prompt.