forked from qt-creator/qt-creator
Debugger: Improve gdb error msg handling
Change-Id: I9ac8c3caf4f1c83d04cc145f485ad8a0a7a00a07 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user