(do_objc_tests): Don't declare objdir.
* gdb.objc/nondebug.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.
* gdb.objc/objcdecode.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.
+2012-06-22 Tom Tromey <tromey@redhat.com>
+
+ * gdb.objc/basicclass.exp: Use standard_testfile.
+ (do_objc_tests): Don't declare objdir.
+ * gdb.objc/nondebug.exp: Use standard_testfile.
+ (do_objc_tests): Don't declare objdir.
+ * gdb.objc/objcdecode.exp: Use standard_testfile.
+ (do_objc_tests): Don't declare objdir.
+
2012-06-22 Tom Tromey <tromey@redhat.com>
* gdb.java/jmain.exp: Use standard_testfile.
# This file was written by Adam Fedor (fedor@gnu.org)
-set testfile "basicclass"
-set srcfile ${testfile}.m
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .m
#
# Objective-C program compilation isn't standard. We need to figure out
proc do_objc_tests {} {
global subdir
- global objdir
global srcdir
global binfile
global gdb_prompt
# 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
proc do_objc_tests {} {
global subdir
- global objdir
global srcdir
global binfile
global gdb_prompt
# This file was written by Adam Fedor (fedor@gnu.org)
-set testfile "objcdecode"
-set srcfile ${testfile}.m
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .m
#
# Objective-C program compilation isn't standard. We need to figure out
proc do_objc_tests {} {
global subdir
- global objdir
global srcdir
global binfile
global gdb_prompt