]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp
Use require dwarf2_support
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.mi / dw2-ref-missing-frame.exp
index 369485feaae944581f54c7d6077242efb990dfd7..336290ee1e17fd5efd684cf43c9087f619525b28 100644 (file)
@@ -18,9 +18,7 @@ load_lib dwarf.exp
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
-if {![dwarf2_support]} {
-    return 0
-}
+require dwarf2_support
 
 standard_testfile .S dw2-ref-missing-frame-func.c dw2-ref-missing-frame-main.c
 set objsfile [standard_output_file ${testfile}.o]