From c8f6fc9200d0611d688d830b7c92c182e59ea632 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 4 Aug 2023 07:20:13 -0600 Subject: Remove extra '.' from error message A local gdb test failed with this error message: Remote communication error. Target disconnected.: Arg list too long. The ".:" seemed weird to me. This patch removes the ".". Reviewed-by: John Baldwin --- gdb/testsuite/gdb.server/server-kill.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/gdb.server/server-kill.exp b/gdb/testsuite/gdb.server/server-kill.exp index 4b40913..a032667 100644 --- a/gdb/testsuite/gdb.server/server-kill.exp +++ b/gdb/testsuite/gdb.server/server-kill.exp @@ -97,7 +97,7 @@ proc_with_prefix test_tstatus {} { # Force GDB to talk with GDBserver, so that we can get the # "connection closed" error. - gdb_test "tstatus" {Remote connection closed|Remote communication error\. Target disconnected\.: Connection reset by peer\.} + gdb_test "tstatus" {Remote connection closed|Remote communication error\. Target disconnected: Connection reset by peer\.} } # Test unwinding with no debug/unwind info, right after the connection -- cgit v1.1