summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc/nondebug.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.objc/nondebug.exp')
-rw-r--r--gdb/testsuite/gdb.objc/nondebug.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.objc/nondebug.exp b/gdb/testsuite/gdb.objc/nondebug.exp
index ea775fc79a8..bca897f7a3b 100644
--- a/gdb/testsuite/gdb.objc/nondebug.exp
+++ b/gdb/testsuite/gdb.objc/nondebug.exp
@@ -17,9 +17,7 @@
# This file was written by Adam Fedor (fedor@gnu.org)
-set testfile "nondebug"
-set srcfile ${testfile}.m
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .m
#
# Objective-C program compilation isn't standard. We need to figure out
@@ -31,7 +29,6 @@ if {[gdb_compile_objc "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [
proc do_objc_tests {} {
global subdir
- global objdir
global srcdir
global binfile
global gdb_prompt