diff options
author | Tom de Vries <tdevries@suse.de> | 2020-05-14 17:24:49 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-05-14 17:24:49 +0200 |
commit | 02eba61aa6cad683e96cf13f483adc04982c0c2b (patch) | |
tree | e43988ca190cfa16c2af7c2f6d3b76354e511088 /gdb/mi/mi-main.c | |
parent | 971a374783061ad1d1574508235e364dfd0fc6e2 (diff) | |
download | gdb-02eba61aa6cad683e96cf13f483adc04982c0c2b.zip gdb-02eba61aa6cad683e96cf13f483adc04982c0c2b.tar.gz gdb-02eba61aa6cad683e96cf13f483adc04982c0c2b.tar.bz2 |
[gdb/testsuite] Fix gdb.fortran/nested-funcs-2.exp with gdbserver
When running test-case gdb.fortran/nested-funcs-2.exp with target board
native-gdbserver, we have:
...
(gdb) call contains_keyword::subroutine_to_call()^M
(gdb) FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: \
call contains_keyword::subroutine_to_call()
...
This is caused by the fact that we're trying to match inferior output using
gdb_test.
Fix this by using gdb_test_stdio instead.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-05-14 Tom de Vries <tdevries@suse.de>
* gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
output.
Diffstat (limited to 'gdb/mi/mi-main.c')
0 files changed, 0 insertions, 0 deletions