aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/label.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/label.exp')
-rw-r--r--gdb/testsuite/gdb.base/label.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/label.exp b/gdb/testsuite/gdb.base/label.exp
index 87f8623..e20ac26 100644
--- a/gdb/testsuite/gdb.base/label.exp
+++ b/gdb/testsuite/gdb.base/label.exp
@@ -36,24 +36,34 @@ if {![runto_main]} {
return -1
}
+set has_pr_14500_fixed 1
+if {[test_compiler_info {clang-*-*}]} {
+ set has_pr_14500_fixed 0
+}
+
+if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* }
gdb_test "break here" \
"Breakpoint.*at.*" \
"breakpoint here"
+if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* }
gdb_test "break main:there" \
"Breakpoint.*at.*" \
"breakpoint there"
+if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* }
gdb_test "cont" \
"Breakpoint 3,.*" \
"continue to 'there'"
+if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* }
gdb_test "cont" \
"Breakpoint 2,.*" \
"continue to 'here'"
rerun_to_main
+if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* }
gdb_test "cont" \
"Breakpoint 3,.*" \
"continue to 'there' after re-run"