| commit | 5c15d620746a971c6a0903579724bf2b8169a760 | [log] [tgz] |
|---|---|---|
| author | Tom de Vries <tdevries@suse.de> | Fri Oct 25 06:14:03 2024 +0200 |
| committer | Tom de Vries <tdevries@suse.de> | Fri Oct 25 06:14:03 2024 +0200 |
| tree | 141be972a26ded2ce3c1efd632e7cc0eb889f0fa | |
| parent | a1ccc78ea7ba8cad3ff37cbde9b5d3bba0194796 [diff] |
[gdb/testsuite] Fix gdb.threads/ia64-sigill.exp with check-read1
Fix test-case gdb.threads/ia64-sigill.exp with make target check-read1 by
using a custom line-by-line exp_continue clause:
...
-re "\r\n\[^\r\n\]*(?=\r\n\[^\r\n\]*\r\n)" {
exp_continue
}
...
which drops a line each time it finds two lines in the buffer.
This allows the other clauses to use two-line patterns.
Tested on x86_64-linux.