aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-mi.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-08-22 13:51:08 +0000
committerTom Tromey <tromey@redhat.com>2013-08-22 13:51:08 +0000
commit8448e842cd2e67a7dbe11a591d4f9bb6dc4a28af (patch)
treee84e6b05cc0a903393aa6e23707857ed0dd13ed8 /gdb/testsuite/gdb.python/py-mi.exp
parent16cfcbc2025e1daee61dbc3755dd143f00de0a0a (diff)
downloadgdb-8448e842cd2e67a7dbe11a591d4f9bb6dc4a28af.zip
gdb-8448e842cd2e67a7dbe11a591d4f9bb6dc4a28af.tar.gz
gdb-8448e842cd2e67a7dbe11a591d4f9bb6dc4a28af.tar.bz2
fix gdb.python to be parallel-safe
This fixes gdb.python to be parallel-safe, mostly by changing it to use gdb_remote_download. Tested on x86-64 Fedora 18. * gdb.python/py-error.exp: Use gdb_remote_download. * gdb.python/py-mi.exp: Use gdb_remote_download. * gdb.python/py-objfile-script.exp: Use standard_output_file. * gdb.python/py-prettyprint.exp: Use gdb_remote_download. (run_lang_tests): Likewise. * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than filename. * gdb.python/py-section-script.exp: Set SCRIPT_FILE when compiling. Use gdb_remote_download. Update some tests. * gdb.python/py-strfns.exp (test_strfns_core_file): Use standard_output_file. * gdb.python/py-typeprint.exp: Use gdb_remote_download. * gdb.python/py-frame-args.exp: Use gdb_remote_download. * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download. * gdb.python/py-framefilter.exp: Use gdb_remote_download, standard_output_file.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-mi.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-mi.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-mi.exp b/gdb/testsuite/gdb.python/py-mi.exp
index ae8bfe5..28aa2c8 100644
--- a/gdb/testsuite/gdb.python/py-mi.exp
+++ b/gdb/testsuite/gdb.python/py-mi.exp
@@ -42,7 +42,7 @@ if {[lsearch -exact [mi_get_features] python] < 0} {
mi_runto main
-set remote_python_file [remote_download host ${srcdir}/${subdir}/${pyfile}]
+set remote_python_file [gdb_remote_download host ${srcdir}/${subdir}/${pyfile}]
mi_gdb_test "python exec (open ('${remote_python_file}').read ())" ""