]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.dwarf2/locexpr-data-member-location.exp
Use require dwarf2_support
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / locexpr-data-member-location.exp
index e2ec8aa8e2a68a81ddc3fb6a52b224412900d87a..f58be5dd2ec7df235d218108e212a755f315a494 100644 (file)
@@ -56,9 +56,7 @@ if [skip_shlib_tests] {
 load_lib dwarf.exp
 
 # This test can only be run on targets which support DWARF-2 and use gas.
-if ![dwarf2_support] {
-    return 0
-}
+require dwarf2_support
 
 # gdb_test_file_name is the name of this file without the .exp
 # extension.  Use it to form basenames for the main program