forked from qt-creator/qt-creator
Debugger: Use -exec-return when asked for
Change-Id: Ib3ab40d3180494fae21040bd3337adcce7816de3 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -2233,7 +2233,7 @@ void GdbEngine::executeReturn()
|
|||||||
setTokenBarrier();
|
setTokenBarrier();
|
||||||
notifyInferiorRunRequested();
|
notifyInferiorRunRequested();
|
||||||
showStatusMessage(tr("Immediate return from function requested..."), 5000);
|
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)
|
void GdbEngine::handleExecuteReturn(const DebuggerResponse &response)
|
||||||
|
Reference in New Issue
Block a user