Add specific error messages around gdb RSP handshake failures
authorJason Molenda <jason@molenda.com>
Fri, 10 Sep 2021 00:02:42 +0000 (17:02 -0700)
committerJason Molenda <jason@molenda.com>
Fri, 10 Sep 2021 00:02:42 +0000 (17:02 -0700)
commitf3472ad5c5f88c3425fc54f40d3d5280258d8be5
treec0dc7da767f8ad7ef8285b02ea2fcf7a8cd629fb
parent766afbc8042bc45283d52c763d11327a34eb04a6
Add specific error messages around gdb RSP handshake failures

Report timeout exceeded and connection lost error messages
when sending the initial handshake packet in a gdb remote
serial protocol connection, an especially fragile time.

Differential Revision: https://reviews.llvm.org/D108888
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp