aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
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/gdb.python
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/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/lib-types.exp3
-rw-r--r--gdb/testsuite/gdb.python/py-pp-maint.exp3
2 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.python/lib-types.exp b/gdb/testsuite/gdb.python/lib-types.exp
index 0599b0d..07480f5 100644
--- a/gdb/testsuite/gdb.python/lib-types.exp
+++ b/gdb/testsuite/gdb.python/lib-types.exp
@@ -44,9 +44,6 @@ if ![runto_main] then {
return 0
}
-# Ensure sys.path, et.al. are initialized properly.
-gdb_check_python_config
-
gdb_test_no_output "python import gdb.types"
# test get_basic_type const stripping
diff --git a/gdb/testsuite/gdb.python/py-pp-maint.exp b/gdb/testsuite/gdb.python/py-pp-maint.exp
index 7474584..b613e41 100644
--- a/gdb/testsuite/gdb.python/py-pp-maint.exp
+++ b/gdb/testsuite/gdb.python/py-pp-maint.exp
@@ -51,9 +51,6 @@ if ![runto_main ] then {
return -1
}
-# Ensure sys.path, et.al. are initialized properly.
-gdb_check_python_config
-
gdb_test "b [gdb_get_line_number {break to inspect} ${testfile}.c ]" \
".*Breakpoint.*"
gdb_test "continue" ".*Breakpoint.*"