Index: gdb/testsuite/gdb.cp/no-dmgl-verbose.exp |
diff --git a/gdb/testsuite/gdb.cp/no-dmgl-verbose.exp b/gdb/testsuite/gdb.cp/no-dmgl-verbose.exp |
index 6bf2f0331c2abef0ea768b90fc2693dec4c362c9..4dc181b0f1e943dcb5e0e86c8b90b333c7c164e5 100644 |
--- a/gdb/testsuite/gdb.cp/no-dmgl-verbose.exp |
+++ b/gdb/testsuite/gdb.cp/no-dmgl-verbose.exp |
@@ -15,19 +15,16 @@ |
# Test loading symbols from unrelocated C++ object files. |
-set testfile no-dmgl-verbose |
-set srcfile ${testfile}.cc |
-set executable ${testfile}.o |
-set binfile ${objdir}/${subdir}/${executable} |
+standard_testfile .cc |
if { [skip_cplus_tests] } { continue } |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {c++ debug}] != "" } { |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}.o" object {c++ debug}] != "" } { |
untested ${testfile}.exp |
return -1 |
} |
-clean_restart ${executable} |
+clean_restart ${testfile}.o |
gdb_test_no_output "set breakpoint pending off" |