diff options
author | Tom de Vries <tdevries@suse.de> | 2021-10-05 15:52:53 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-10-05 15:52:53 +0200 |
commit | 25b0a5714c9ef139bb50adf392154f528d6a4c8d (patch) | |
tree | 14b5530d5d0f6ec06364af7e8058deb337233ae7 /gdb/hppa-linux-tdep.c | |
parent | cb6e6bb89d5bfff3651b1e2a4e2d856d16b006db (diff) | |
download | gdb-25b0a5714c9ef139bb50adf392154f528d6a4c8d.zip gdb-25b0a5714c9ef139bb50adf392154f528d6a4c8d.tar.gz gdb-25b0a5714c9ef139bb50adf392154f528d6a4c8d.tar.bz2 |
[gdb/testsuite] Fix FAIL in gdb.mi/mi-nsmoribund.exp
Since commit e36788d1354 "[gdb/testsuite] Fix handling of nr_args < 3 in
mi_gdb_test" we run into:
...
PASS: gdb.mi/mi-nsmoribund.exp: print done = 1
Expecting: ^(.*[^M
]+)?([^
]*^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"^M
\*running,thread-id="[0-9]+"[^M
]+[(]gdb[)] ^M
[ ]*)
103-exec-continue --all^M
=library-loaded,id="/lib64/libgcc_s.so.1",target-name="/lib64/libgcc_s.so.1",\
host-name="/lib64/libgcc_s.so.1",symbols-loaded="0",thread-group="i1",\
ranges=[{from="0x00007ffff22a5010",to="0x00007ffff22b6365"}]^M
103^running^M
*running,thread-id="5"^M
(gdb) ^M
FAIL: gdb.mi/mi-nsmoribund.exp: 103-exec-continue --all (unexpected output)
...
The regexp expect running messages for all threads, but we only get one for
thread 5.
The test-case uses non-stop mode, and when the exec-continue --all command is
issued, thread 5 is stopped and all other threads are running. Consequently,
only thread 5 is resumed, and reported as running.
Fix this by updating the regexp.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/hppa-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions