aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp b/gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp
index 02c0deb..efb335e 100644
--- a/gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp
+++ b/gdb/testsuite/gdb.dwarf2/loc-sec-offset.exp
@@ -18,9 +18,7 @@
load_lib dwarf.exp
-if {![dwarf2_support]} {
- return 0
-}
+require dwarf2_support
# Test with 32-bit and 64-bit DWARF.
foreach_with_prefix is_64 {false true} {