summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/attach-stopped.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/attach-stopped.exp')
-rw-r--r--gdb/testsuite/gdb.threads/attach-stopped.exp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.threads/attach-stopped.exp b/gdb/testsuite/gdb.threads/attach-stopped.exp
index cba19d83f48..f4c05baeadb 100644
--- a/gdb/testsuite/gdb.threads/attach-stopped.exp
+++ b/gdb/testsuite/gdb.threads/attach-stopped.exp
@@ -23,10 +23,8 @@ if { ![isnative] || [is_remote host] || [target_info exists use_gdb_stub]
continue
}
-set testfile "attach-stopped"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
-set escapedbinfile [string_to_regexp ${objdir}/${subdir}/${testfile}]
+standard_testfile
+set escapedbinfile [string_to_regexp $binfile]
#execute_anywhere "rm -f ${binfile}"
remote_exec build "rm -f ${binfile}"