forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user