new FAIL python-selftest.exp in gdbserver mode [Re: [PATCH 18/28] check gdb_python_initialized everywhere]

Jan Kratochvil
2013-05-21T08:22:14Z

On Mon, 22 Apr 2013 20:27:53 +0200, Tom Tromey wrote:
> * gdb.gdb/python-selftest.exp: New file.

commit 35c1e5efc16caf256acb5c76df8f02a3f1de246e
Author: Tom Tromey <tromey@redhat.com>
Date: Mon May 20 20:43:28 2013 +0000

although the problem is in some of the testsuite/lib/ files.

in gdbserver mode:

Running gdb/testsuite/gdb.gdb/python-selftest.exp ...
PASS: gdb.gdb/python-selftest.exp: breakpoint in captured_command_loop
ERROR: tcl error sourcing gdb/testsuite/gdb.gdb/python-selftest.exp.
ERROR: gdbserver does not support run -nw -nx -data-directory /unsafegdb/testsuite.unix.-m64/../data-directory without extended-remote
while executing
"error "gdbserver does not support $command without extended-remote""
(procedure "gdb_test_multiple" line 23)
invoked from within
"gdb_test_multiple "run $INTERNAL_GDBFLAGS" "$description" {
-re "Starting program.*Breakpoint \[0-9\]+,.*$function .data.* at .*main.c:.*$gdb_..."
(procedure "selftest_setup" line 45)
invoked from within
"selftest_setup $file $function"
(procedure "do_self_tests" line 15)
invoked from within
"do_self_tests captured_command_loop selftest_python"
(file "gdb/testsuite/gdb.gdb/python-selftest.exp" line 30)
invoked from within
"source gdb/testsuite/gdb.gdb/python-selftest.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source gdb/testsuite/gdb.gdb/python-selftest.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""

Regards,
Jan