# HG changeset patch # Parent 8bd5b9b86ee7cd342e93a2b49bc59430fc65aa40 xfail gdb.base/break-on-linker-gcd-function.exp with Solaris ld [PR34534] diff --git a/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp b/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp --- a/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp +++ b/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp @@ -42,6 +42,13 @@ proc set_breakpoint_on_gcd_function {} { set lineno [gdb_get_line_number "gdb break here"] gdb_test "set breakpoint pending on" + + # PR 34534 + set compiler [find_g++] + set res [catch {exec $compiler -Wl,--version} output] + if [regexp "Solaris Link Editors" $output] { + setup_xfail "*-*-solaris2*" + } gdb_test "b $lineno" \ [multi_line \ "^No compiled code for line $lineno in the current file\\." \