]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
authorDoug Evans <dje@google.com>
Fri, 16 Aug 2013 17:44:22 +0000 (17:44 +0000)
committerDoug Evans <dje@google.com>
Fri, 16 Aug 2013 17:44:22 +0000 (17:44 +0000)
prelink complains about an unhandled DWARF version.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/prelink-support.exp

index 4a7663d33705f0d64000bef4784b197dcda9b1da..661042e340bbe6895bf83388a1e45959e49e05bd 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-16  Doug Evans  <dje@google.com>
+
+       * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
+       prelink complains about an unhandled DWARF version.
+
 2013-08-14  Cary Coutant  <ccoutant@google.com>
 
        * boards/fission.exp: Add -fdebug-types-section to debug_flags.
index e61811bbd995e308ddde6b387492e7e2881725ce..bd10017d86cac5191ce4d9a45fd9264b20bf3e31 100644 (file)
@@ -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