[PATCH v3 2/2] Test GDB connection to GDBserver with no symbol files
Yao Qi
qiyaoltc@gmail.com
Fri Apr 15 14:06:00 GMT 2016
Luis Machado <lgustavo@codesourcery.com> writes:
Hi Luis,
> This test exercises the scenarios where we attempt to connect GDB to GDBserver
> in standard remote mode, query the symbol file path, attempt to open said
> symbol file on GDB's end and fail, causing the connection to drop abruptly.
>
> Regression-tested on x86-64/Ubuntu.
Did you see some fails in a real remote testing? I see some fails in my
cross/remote testing (x86_64 host and arm target),
Running /home/yao/SourceCode/gnu/gdb/git/gdb/testsuite/gdb.server/connect-with-no-symbol-file.exp ...
WARNING: Can`t communicate to remote target.
FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded
FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded
using remote-gdbserver-on-localhost can trigger some fails too,
$ make check RUNTESTFLAGS='--target_board=remote-gdbserver-on-localhost connect-with-no-symbol-file.exp'
--
Yao (齐尧)
More information about the Gdb-patches
mailing list