From ce8d533e88bea858ad96011683469d182a22e355 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 13 Dec 2022 15:21:57 -0700 Subject: Use require dwarf2_support This changes some tests to use "require dwarf2_support". --- gdb/testsuite/gdb.dwarf2/loclists-start-end.exp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/testsuite/gdb.dwarf2/loclists-start-end.exp') diff --git a/gdb/testsuite/gdb.dwarf2/loclists-start-end.exp b/gdb/testsuite/gdb.dwarf2/loclists-start-end.exp index 9c8d1a3..0bcdffc 100644 --- a/gdb/testsuite/gdb.dwarf2/loclists-start-end.exp +++ b/gdb/testsuite/gdb.dwarf2/loclists-start-end.exp @@ -17,9 +17,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} { -- cgit v1.1