aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/i386-dr3-watch.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-08-22 13:54:15 +0000
committerTom Tromey <tromey@redhat.com>2013-08-22 13:54:15 +0000
commitde5f37e1db1f860e2bd07cbd45307734e75cac9b (patch)
tree13a4c9126a059b76a3b1e0cb2512de3cbf624258 /gdb/testsuite/gdb.arch/i386-dr3-watch.exp
parent8448e842cd2e67a7dbe11a591d4f9bb6dc4a28af (diff)
downloadgdb-de5f37e1db1f860e2bd07cbd45307734e75cac9b.zip
gdb-de5f37e1db1f860e2bd07cbd45307734e75cac9b.tar.gz
gdb-de5f37e1db1f860e2bd07cbd45307734e75cac9b.tar.bz2
fix gdb.arch to be parallel-safe
This fixes parts of gdb.arch to be parallel-safe. I only changed the bits I could test on this machine. I don't have access to many of the machines needed to fully switch gdb.arch; but I am happy to provide advice to others attempting this. Or, I can send an untested patch to convert it all. Tested on x86-64 Fedora 18. * gdb.arch/amd64-byte.exp: Use standard_testfile, clean_restart. * gdb.arch/amd64-disp-step.exp: Use standard_testfile. * gdb.arch/amd64-dword.exp: Use standard_testfile, clean_restart. * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile. * gdb.arch/amd64-entry-value.exp: Use standard_testfile. * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile. * gdb.arch/amd64-word.exp: Use standard_testfile, clean_restart. * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart. * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart. * gdb.arch/i386-disp-step.exp: Use standard_testfile. * gdb.arch/i386-dr3-watch.exp: Use standard_testfile. * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart. * gdb.arch/i386-signal.exp: Use standard_testfile. * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart. * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart. * gdb.arch/i386-unwind.exp: Use standard_testfile. * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-dr3-watch.exp')
-rw-r--r--gdb/testsuite/gdb.arch/i386-dr3-watch.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-dr3-watch.exp b/gdb/testsuite/gdb.arch/i386-dr3-watch.exp
index 81e33bc..b51c26c 100644
--- a/gdb/testsuite/gdb.arch/i386-dr3-watch.exp
+++ b/gdb/testsuite/gdb.arch/i386-dr3-watch.exp
@@ -23,10 +23,9 @@ if { ![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] } then {
return 0
}
-set testfile "i386-dr3-watch"
-set srcfile ${testfile}.c
+standard_testfile
-if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug $additional_flags}] {
+if [prepare_for_testing ${testfile}.exp ${binfile} ${srcfile} {debug $additional_flags}] {
untested "failed to compile ${testfile}"
return -1
}