[PATCH v3 2/2] Test GDB connection to GDBserver with no symbol files

Luis Machado lgustavo@codesourcery.com
Fri Apr 15 14:36:00 GMT 2016


On 04/15/2016 09:06 AM, Yao Qi wrote:
> 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'
>

Do you have a log of the failures or the reason why these fail? They 
seem to be ssh/rsh related.



More information about the Gdb-patches mailing list