binutils-gdb/gdb/testsuite/gdb.server
Yao Qi 754dd2b00f Enable qTStatus packet in case it is disabled
Nowadays, we are using command "tstatus" to send a packet to GDBserver
in order to check the connection.  However, on the target doesn't
support tracepoint, the following error is emitted before sending any
packet to GDBserver.

tstatus^M
Trace can not be run on this target.^M
(gdb) FAIL: gdb.server/server-kill.exp: tstatus

qTStatus is disabled after receiving the empty reply during connecting
to the remote target.  When the test executes command "tstatus" again,
remote_get_trace_status returns -1 at the very beginning, and no RSP
packet is sent out.

This patch is to enable qTStatus packet again.

gdb/testsuite:

2014-10-11  Yao Qi  <yao@codesourcery.com>

	* gdb.server/server-kill.exp: Execute command
	"set remote trace-status-packet on" before "tstatus".
2014-10-11 11:13:39 +08:00
..
ext-attach.c
ext-attach.exp testsuite: refactor spawn and wait for attach 2014-09-11 13:04:14 +01:00
ext-run.exp
file-transfer.exp
Makefile.in
no-thread-db.c
no-thread-db.exp
server-exec-info.exp
server-kill.c Get GDBserver pid on remote target 2014-10-11 11:13:34 +08:00
server-kill.exp Enable qTStatus packet in case it is disabled 2014-10-11 11:13:39 +08:00
server-mon.exp
server-run.exp
server.c
solib-list-lib.c
solib-list-main.c
solib-list.exp enable target async by default; separate MI and target notions of async 2014-05-29 14:38:02 +01:00
transfer.txt
wrapper.c
wrapper.exp