aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-13 15:21:57 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commitce8d533e88bea858ad96011683469d182a22e355 (patch)
treee14bab1e0495a9d6bd99b8cd671790385ca97c52 /gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp
parentade3e4f5b154f983dddff333edd8dd7445955b67 (diff)
downloadfsf-binutils-gdb-ce8d533e88bea858ad96011683469d182a22e355.zip
fsf-binutils-gdb-ce8d533e88bea858ad96011683469d182a22e355.tar.gz
fsf-binutils-gdb-ce8d533e88bea858ad96011683469d182a22e355.tar.bz2
Use require dwarf2_support
This changes some tests to use "require dwarf2_support".
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp b/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp
index 3654dba..01c5d1c 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp
@@ -18,9 +18,7 @@ load_lib dwarf.exp
# introduced by GCC PR debug/40659.
# This test can only be run on targets which support DWARF-2 and use gas.
-if {![dwarf2_support]} {
- return 0
-}
+require dwarf2_support
standard_testfile .S