Debugger: Ensure termination of lldb.exe

LLDB 12.0.8, which is included in NDK 23.1, hesitates to termiate when
being told to. Setting UseCtrlCStub to true helps with that.

Fixes: QTCREATORBUG-27723
Change-Id: If14f196cc18f0c6943b59702aca117101b66d02c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Alessandro Portale
2022-06-15 19:08:21 +02:00
parent 924806e10b
commit 17ff9317cd

View File

@@ -83,6 +83,7 @@ static int &currentToken()
LldbEngine::LldbEngine()
{
m_lldbProc.setUseCtrlCStub(true);
m_lldbProc.setProcessMode(ProcessMode::Writer);
setObjectName("LldbEngine");