diff options
author | Doug Evans <dje@google.com> | 2013-08-16 17:44:22 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-08-16 17:44:22 +0000 |
commit | 70cc1c235fe2b3fde70b91c46158531c38896217 (patch) | |
tree | 84f909b7b7fbe7a5179c89295fd47db56a15d1cd | |
parent | 27285eedbdd3e333aad504dab84ad22b3e547fd7 (diff) | |
download | gdb-70cc1c235fe2b3fde70b91c46158531c38896217.zip gdb-70cc1c235fe2b3fde70b91c46158531c38896217.tar.gz gdb-70cc1c235fe2b3fde70b91c46158531c38896217.tar.bz2 |
* lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
prelink complains about an unhandled DWARF version.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/prelink-support.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4a7663d..661042e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/lib/prelink-support.exp b/gdb/testsuite/lib/prelink-support.exp index e61811b..bd10017 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 |