aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/leader-exit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/leader-exit.exp')
-rw-r--r--gdb/testsuite/gdb.threads/leader-exit.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/leader-exit.exp b/gdb/testsuite/gdb.threads/leader-exit.exp
index d4b8c1f..140b025 100644
--- a/gdb/testsuite/gdb.threads/leader-exit.exp
+++ b/gdb/testsuite/gdb.threads/leader-exit.exp
@@ -15,10 +15,8 @@
# Exit of the thread group leader should not break GDB.
-set testfile "leader-exit"
-set srcfile ${testfile}.c
+standard_testfile
set executable ${testfile}
-set binfile ${objdir}/${subdir}/${executable}
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
return -1