diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-disassemble.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-disassemble.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-disassemble.exp b/gdb/testsuite/gdb.mi/mi2-disassemble.exp index 66796d1..30e9129 100644 --- a/gdb/testsuite/gdb.mi/mi2-disassemble.exp +++ b/gdb/testsuite/gdb.mi/mi2-disassemble.exp @@ -28,9 +28,8 @@ if [mi_gdb_start] { continue } -set testfile "basics" -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/mi2-disassemble +standard_testfile basics.c + if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { untested mi2-disassemble.exp return -1 |