Commit 6d78e94b authored by hjk's avatar hjk
Browse files

Debugger: Use -exec-return when asked for



Change-Id: Ib3ab40d3180494fae21040bd3337adcce7816de3
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 7339761c
......@@ -2233,7 +2233,7 @@ void GdbEngine::executeReturn()
setTokenBarrier();
notifyInferiorRunRequested();
showStatusMessage(tr("Immediate return from function requested..."), 5000);
runCommand({"-exec-finish", RunRequest, CB(handleExecuteReturn)});
runCommand({"-exec-return", RunRequest, CB(handleExecuteReturn)});
}
void GdbEngine::handleExecuteReturn(const DebuggerResponse &response)
......
Markdown is supported
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