diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-09 10:45:03 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-09 10:45:03 +0100 |
commit | b40b8facd5971bf12040c1fd483a104e736d9f56 (patch) | |
tree | e5a76f4c95b29d06de14e90d23b12072dc932224 /gdb/python/python.c | |
parent | 593dda1880146c1487828f2878d5e74c9b1b42ad (diff) | |
download | binutils-b40b8facd5971bf12040c1fd483a104e736d9f56.zip binutils-b40b8facd5971bf12040c1fd483a104e736d9f56.tar.gz binutils-b40b8facd5971bf12040c1fd483a104e736d9f56.tar.bz2 |
[gdb/testsuite] Fix gdb.server/unittest.exp for remote target
With test-case gdb.server/unittest.exp and a build with --disable-unit-tests I
get:
...
(gdb) builtin_spawn /data/vries/gdb/leap-15-4/build/gdbserver/gdbserver \
--selftest^M
Selftests have been disabled for this build.^M
UNSUPPORTED: gdb.server/unittest.exp: unit tests
...
but with target board remote-stdio-gdbserver I get instead:
...
(gdb) builtin_spawn /usr/bin/ssh -t -l vries localhost \
/data/vries/gdb/leap-15-4/build/gdbserver/gdbserver --selftest^M
Selftests have been disabled for this build.^M
Connection to localhost closed.^M^M
FAIL: gdb.server/unittest.exp: unit tests
...
Fix this by making the regexp less strict.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions