forked from qt-creator/qt-creator
Valgrind: Compile fix with Heob
Change-Id: I4d58280a13643f0afff5a9ed2b0aae7bc40e551b Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1509,8 +1509,9 @@ void HeobData::processFinished()
|
||||
DWORD didread;
|
||||
if (GetOverlappedResult(m_errorPipe, &m_ov, &didread, TRUE) && didread == sizeof(m_data)) {
|
||||
if (m_data[0] >= HEOB_PID_ATTACH) {
|
||||
m_runControl = new RunControl(nullptr, ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
auto debugger = new DebuggerRunTool(m_runControl, m_kit);
|
||||
m_runControl = new RunControl(ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
m_runControl->setKit(m_kit);
|
||||
auto debugger = new DebuggerRunTool(m_runControl);
|
||||
debugger->setAttachPid(ProcessHandle(m_data[1]));
|
||||
debugger->setRunControlName(tr("Process %1").arg(m_data[1]));
|
||||
debugger->setInferiorDevice(DeviceKitAspect::device(m_kit));
|
||||
|
Reference in New Issue
Block a user