jit.exp: handle dwarf version mismatch in jit-check-debug-info [PR110466]
gcc/testsuite/ChangeLog: PR jit/110466 * jit.dg/jit.exp (jit-check-debug-info): Gracefully handle too early versions of gdb that don't support our dwarf version, via "unsupported". Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
parent
6735d66083
commit
c3c0ba5436
1 changed files with 4 additions and 0 deletions
|
@ -440,6 +440,10 @@ proc jit-check-debug-info { obj_file cmds match } {
|
|||
send $cmd
|
||||
}
|
||||
expect {
|
||||
-re "Dwarf Error: wrong version in compilation unit header" {
|
||||
set testcase [testname-for-summary]
|
||||
unsupported "$testcase: gdb does not support dwarf version"
|
||||
}
|
||||
-re $match { pass OK }
|
||||
default { fail FAIL }
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue