aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 10:13:01 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commit402c7447615b8099756e68d8d6d0d1627133a863 (patch)
treeef5d7c2cd20ddab73179773da404d4772ffcb679 /gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp
parent78a1c061b2ad49c687ca1ecc4e87acadfad37e1f (diff)
downloadgdb-402c7447615b8099756e68d8d6d0d1627133a863.zip
gdb-402c7447615b8099756e68d8d6d0d1627133a863.tar.gz
gdb-402c7447615b8099756e68d8d6d0d1627133a863.tar.bz2
Use require is_c_compiler_gcc
This changes some tests to use "require is_c_compiler_gcc".
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp b/gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp
index 7e9151d..d149efd 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp
@@ -29,9 +29,7 @@ load_lib dwarf.exp
require dwarf2_support
# The .c files use __attribute__.
-if ![is_c_compiler_gcc] {
- return 0
-}
+require is_c_compiler_gcc
standard_testfile .c .S