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: hjk <qthjk@ovi.com>
This commit is contained in:
Kai Koehne
2012-03-29 10:10:03 +02:00
committed by hjk
parent 16d5b5165c
commit 9822654c43

View File

@@ -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();
}