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.
This commit is contained in:
Doug Evans
2010-12-07 17:26:06 +00:00
parent c20cbc067b
commit aae1c79a03
11 changed files with 42 additions and 27 deletions

View File

@ -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

View File

@ -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.*"