* gdb.server/server-kill.exp: Use command 'tstatus' instead of
'step'.
+2013-04-04 Yao Qi <yao@codesourcery.com>
+
+ * gdb.server/server-kill.exp: Use command 'tstatus' instead of
+ 'step'.
+
2013-04-03 Yao Qi <yao@codesourcery.com>
* gdb.trace/mi-traceframe-changed.exp: Update tfile name to
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"