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