aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-regs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-regs.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-regs.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-regs.exp b/gdb/testsuite/gdb.mi/mi-regs.exp
index 876de78..988f0c5 100644
--- a/gdb/testsuite/gdb.mi/mi-regs.exp
+++ b/gdb/testsuite/gdb.mi/mi-regs.exp
@@ -30,9 +30,8 @@ if [mi_gdb_start] {
continue
}
-set testfile "basics"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/mi-regs
+standard_testfile basics.c
+
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
untested mi-regs.exp
return -1