Commit 9822654c authored by Kai Koehne's avatar Kai Koehne Committed by hjk
Browse files

Catch message from gdb when gdbserver connection closes



This is yet another error that gdb 7.4 prints on windows when
the remote gets disconnected.

Change-Id: I7bc5f37bc9d9ae5211f23cf23dc19a8efd1779c8
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 16d5b516
......@@ -613,6 +613,8 @@ void GdbEngine::handleResponse(const QByteArray &buff)
// Messages when the target exits (gdbserver)
if (data.trimmed() == "Remote connection closed"
|| data.trimmed() == "Remote communication error. "
"Target disconnected.: No error."
|| data.trimmed() == "Quit") {
notifyInferiorExited();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment