forked from qt-creator/qt-creator
Debugger: Use Utils::ProcessHandle for DebuggerEngine::m_inferiorPid
That's the intended "typesafe" use. Change-Id: Ib288fe87a47bd9484bda83e05406f0d22989b3c2 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -119,7 +119,7 @@ void QnxAttachDebugSupport::launchPDebug()
|
||||
void QnxAttachDebugSupport::attachToProcess()
|
||||
{
|
||||
Debugger::DebuggerStartParameters sp;
|
||||
sp.attachPID = m_process.pid;
|
||||
sp.attachPID = Utils::ProcessHandle(m_process.pid);
|
||||
sp.startMode = Debugger::AttachToRemoteServer;
|
||||
sp.closeMode = Debugger::DetachAtClose;
|
||||
sp.connParams.port = m_pdebugPort.number();
|
||||
|
||||
Reference in New Issue
Block a user