From: Doug Evans Date: Fri, 16 Aug 2013 17:44:22 +0000 (+0000) Subject: * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70cc1c235fe2b3fde70b91c46158531c38896217;p=binutils-gdb.git * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if prelink complains about an unhandled DWARF version. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4a7663d3370..661042e340b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-08-16 Doug Evans + + * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if + prelink complains about an unhandled DWARF version. + 2013-08-14 Cary Coutant * boards/fission.exp: Add -fdebug-types-section to debug_flags. diff --git a/gdb/testsuite/lib/prelink-support.exp b/gdb/testsuite/lib/prelink-support.exp index e61811bbd99..bd10017d86c 100644 --- a/gdb/testsuite/lib/prelink-support.exp +++ b/gdb/testsuite/lib/prelink-support.exp @@ -292,6 +292,11 @@ proc prelink_yes {arg {name ""}} { xfail $test return 0 } + if {$result == 1 && [regexp {DWARF [^\r\n]* unhandled} $output]} { + # Prelink didn't understand the version of dwarf present. + unsupported "$test (dwarf version unhandled)" + return 0 + } if {$result == 0 && $output == ""} { pass $test return 1