From: Yao Qi Date: Thu, 4 Apr 2013 02:16:04 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Tag: cygwin-64bit-premerge~210 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bd05f249301e76338775741c6eb97c25f0d9c37;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite/ * gdb.server/server-kill.exp: Use command 'tstatus' instead of 'step'. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ed5878f4197..fc2e96a601c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-04-04 Yao Qi + + * gdb.server/server-kill.exp: Use command 'tstatus' instead of + 'step'. + 2013-04-03 Yao Qi * gdb.trace/mi-traceframe-changed.exp: Update tfile name to diff --git a/gdb/testsuite/gdb.server/server-kill.exp b/gdb/testsuite/gdb.server/server-kill.exp index 45a2a895464..1b4815251b3 100644 --- a/gdb/testsuite/gdb.server/server-kill.exp +++ b/gdb/testsuite/gdb.server/server-kill.exp @@ -40,4 +40,6 @@ delete_breakpoints set server_pid [exp_pid -i [board_info target fileid]] remote_exec target "kill -9 $server_pid" -gdb_test "step" "Remote connection closed" +# Force GDB to talk with GDBserver, so that we can get the +# "connection closed" error. +gdb_test "tstatus" "Remote connection closed"