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 <jhb@FreeBSD.org>
/* no return */
case SERIAL_ERROR:
unpush_and_perror (this, _("Remote communication error. "
- "Target disconnected."));
+ "Target disconnected"));
/* no return */
case SERIAL_TIMEOUT:
break;
if (serial_write (rs->remote_desc, str, len))
{
unpush_and_perror (this, _("Remote communication error. "
- "Target disconnected."));
+ "Target disconnected"));
}
if (rs->got_ctrlc_during_io)
# 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