diff options
author | Tom de Vries <tdevries@suse.de> | 2022-05-08 13:53:41 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-05-08 13:53:41 +0200 |
commit | efd1a8512f9d749861498bb3e9756727cda5e230 (patch) | |
tree | f85478c56d006d221f78a53442cc2ef3afb78c1b /gdb/rust-lang.c | |
parent | 07d977417111236a15af7813f723b608bcf67c47 (diff) | |
download | gdb-efd1a8512f9d749861498bb3e9756727cda5e230.zip gdb-efd1a8512f9d749861498bb3e9756727cda5e230.tar.gz gdb-efd1a8512f9d749861498bb3e9756727cda5e230.tar.bz2 |
[gdb/testsuite] Fix gdb.threads/fork-plus-threads.exp with check-readmore
When running test-case gdb.threads/fork-plus-threads.exp with check-readmore,
I run into:
...
[Inferior 11 (process 7029) exited normally]^M
[Inferior 1 (process 6956) exited normally]^M
FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: \
inferior 1 exited (timeout)
...
The problem is that the regexp consuming the "Inferior exited normally"
messages:
- consumes more than one of those messages at a time, but
- counts only one of those messages.
Fix this by adopting a line-by-line approach, which deals with those messages
one at a time.
Tested on x86_64-linux with native, check-read1 and check-readmore.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions