diff options
author | Yao Qi <yao@codesourcery.com> | 2013-04-04 02:16:04 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-04-04 02:16:04 +0000 |
commit | 4bd05f249301e76338775741c6eb97c25f0d9c37 (patch) | |
tree | 86f127c995d67d3dd97ee29d3d22ad466eef6e0b /gdb/testsuite/gdb.server | |
parent | dcd7e9d6a51af1b474496110e9f840b624229f5f (diff) | |
download | gdb-4bd05f249301e76338775741c6eb97c25f0d9c37.zip gdb-4bd05f249301e76338775741c6eb97c25f0d9c37.tar.gz gdb-4bd05f249301e76338775741c6eb97c25f0d9c37.tar.bz2 |
gdb/testsuite/
* gdb.server/server-kill.exp: Use command 'tstatus' instead of
'step'.
Diffstat (limited to 'gdb/testsuite/gdb.server')
-rw-r--r-- | gdb/testsuite/gdb.server/server-kill.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.server/server-kill.exp b/gdb/testsuite/gdb.server/server-kill.exp index 45a2a89..1b48152 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" |