Debugger: Improve gdb error msg handling

Change-Id: I9ac8c3caf4f1c83d04cc145f485ad8a0a7a00a07
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Christian Stenger
2012-04-13 18:23:44 +02:00
committed by hjk
parent bff945af93
commit d48027aefe

View File

@@ -2108,6 +2108,9 @@ void GdbEngine::handleExecuteStep(const GdbResponse &response)
} else if (msg.startsWith("Cannot execute this command while the selected thread is running.")) {
showExecutionError(QString::fromLocal8Bit(msg));
notifyInferiorRunFailed();
} else if (msg.startsWith("warning: SuspendThread failed")) {
// On Win: would lead to "PC register is not available" or "\312"
continueInferiorInternal();
} else {
showExecutionError(QString::fromLocal8Bit(msg));
notifyInferiorIll();