gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Thu, 4 Apr 2013 02:16:04 +0000 (02:16 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 4 Apr 2013 02:16:04 +0000 (02:16 +0000)
* gdb.server/server-kill.exp: Use command 'tstatus' instead of
'step'.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/server-kill.exp

index ed5878f4197e8d9564036cdcf998e225349a060f..fc2e96a601c0d526cdee441aa8347ab6db5f9448 100644 (file)
@@ -1,3 +1,8 @@
+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
index 45a2a8954641b21851df7984f0920a0b290fce3d..1b4815251b3fa664a1b85d5c69a5cf7be3366c95 100644 (file)
@@ -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"