aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/implref-const.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-13 15:35:59 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commit7978d474f213ca9fbd37738f0d9350ff4a94d53b (patch)
tree21a2b6af77b1986a1ca03c58b928b962c541c44a /gdb/testsuite/gdb.dwarf2/implref-const.exp
parent18d2b8767a86e819c911d12077ad9a1ab6f289a3 (diff)
downloadgdb-7978d474f213ca9fbd37738f0d9350ff4a94d53b.zip
gdb-7978d474f213ca9fbd37738f0d9350ff4a94d53b.tar.gz
gdb-7978d474f213ca9fbd37738f0d9350ff4a94d53b.tar.bz2
Use require !skip_cplus_tests
This changes some tests to use "require !skip_cplus_tests".
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/implref-const.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/implref-const.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/implref-const.exp b/gdb/testsuite/gdb.dwarf2/implref-const.exp
index fb1a958..13608ea 100644
--- a/gdb/testsuite/gdb.dwarf2/implref-const.exp
+++ b/gdb/testsuite/gdb.dwarf2/implref-const.exp
@@ -16,9 +16,7 @@
# Test a C++ reference marked with DW_OP_GNU_implicit_pointer.
# The referenced value is a DW_AT_const_value.
-if [skip_cplus_tests] {
- return
-}
+require !skip_cplus_tests
load_lib dwarf.exp