This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

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

No, but let me check this and i'll let you know.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]