diff options
author | Doug Evans <dje@google.com> | 2010-12-07 17:26:06 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-12-07 17:26:06 +0000 |
commit | aae1c79a03aa76ca68e9a989e7652703178362f0 (patch) | |
tree | 26d741796b72507358fc01ea1d5ae36e5c18b587 /gdb/testsuite/gdb.base | |
parent | c20cbc067b6fa714b4dc3e6d4025d5b11d605c80 (diff) | |
download | gdb-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/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/catch-syscall.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index 7845655..b84c0dd 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -277,8 +277,8 @@ proc test_catch_syscall_fail_nodatadir {} { proc do_syscall_tests {} { global gdb_prompt srcdir - # First, we need to set GDB datadir. - gdb_test_no_output "set data-directory [pwd]/../data-directory" + # NOTE: We don't have to point gdb at the correct data-directory. + # For the build tree that is handled by INTERNAL_GDBFLAGS. # Verify that the 'catch syscall' help is available set thistest "help catch syscall" |