Commit 47def926 authored by cnavarro's avatar cnavarro Committed by hjk
Browse files

Fix non-stop mode in gdb when you click continue

When you hit a brekpoint in gdb non-stop mode, if you click continue in the
UI the debugger was killed if the current thread is not the one being
stopped. This is anoying as gdb does not change current thread
automatically. The fix shows the error but does not kill the inferior.
Fixed style issues again.

Change-Id: I1a2e484108e936581c7b82c985f2b057263e3d6b
Reviewed-by: default avatarhjk <>
parent 79d2fca3
......@@ -1801,6 +1801,9 @@ void GdbEngine::handleExecuteContinue(const GdbResponse &response)
// FIXME: Fix translation in master.
showStatusMessage(QString::fromLocal8Bit(msg), 5000);
} else if (msg.startsWith("Cannot execute this command while the selected thread is running.")) {
notifyInferiorRunFailed() ;
} else {
Supports Markdown
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