+2019-09-06 David Blaikie <dblaikie@gmail.com>
+
+ * gdb.base/label.exp: un-XFAIL label related tests under Clang.
+ * gdb.cp/cplabel.exp: Ditto.
+ * gdb.linespec/ls-errs.exp: Ditto.
+
2019-09-05 Tom de Vries <tdevries@suse.de>
* lib/gdb.exp (cmp_file_string): New proc.
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"
foreach m $methods {
foreach l $labels {
set line [gdb_get_line_number "$m:$l"]
- if {[test_compiler_info {clang-*-*}]} { setup_xfail clang/14500 *-*-* }
gdb_test "break foo::$m:$l" \
"Breakpoint $decimal at $hex: file .*$srcfile, line $line\."
}
foreach x $spaces {
test_break "main${x}there" invalid_label "there" "main"
- if {[test_compiler_info {clang-*-*}]} {
- setup_xfail clang/14500 *-*-*
- }
test_break "main:here${x}" unexpected "end of input"
}