gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 9 Apr 2013 15:26:44 +0000 (15:26 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 9 Apr 2013 15:26:44 +0000 (15:26 +0000)
* gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
response.

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

index 27deae323648bcd5d31c0037e8b1fcf5884aad7e..58d692e0c8f3bc75557c8cfa42066c48c774ea70 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
+       response.
+
 2013-04-08  Pedro Alves  <palves@redhat.com>
 
        * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
index 1b4815251b3fa664a1b85d5c69a5cf7be3366c95..75c962705e3a0149bee2b3ea801aacdcb54da0f3 100644 (file)
@@ -42,4 +42,4 @@ remote_exec target "kill -9 $server_pid"
 
 # Force GDB to talk with GDBserver, so that we can get the
 # "connection closed" error.
-gdb_test "tstatus" "Remote connection closed"
+gdb_test "tstatus" {Remote connection closed|Remote communication error\.  Target disconnected\.: Connection reset by peer\.}