forked from qt-creator/qt-creator
Debugger: Use QtcProcess instead of SynchronousProcess::stopProcess()
Change-Id: I6206e64e098d3490738a9c2a76ff433c990aab17 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -65,7 +65,6 @@
|
|||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
#include <utils/qtcprocess.h>
|
#include <utils/qtcprocess.h>
|
||||||
#include <utils/stringutils.h>
|
#include <utils/stringutils.h>
|
||||||
#include <utils/synchronousprocess.h>
|
|
||||||
#include <utils/winutils.h>
|
#include <utils/winutils.h>
|
||||||
|
|
||||||
#include <cplusplus/findcdbbreakpoint.h>
|
#include <cplusplus/findcdbbreakpoint.h>
|
||||||
@@ -263,7 +262,7 @@ void CdbEngine::init()
|
|||||||
}
|
}
|
||||||
// update source path maps from debugger start params
|
// update source path maps from debugger start params
|
||||||
mergeStartParametersSourcePathMap();
|
mergeStartParametersSourcePathMap();
|
||||||
QTC_ASSERT(m_process.state() != QProcess::Running, SynchronousProcess::stopProcess(m_process));
|
QTC_ASSERT(m_process.state() != QProcess::Running, m_process.stopProcess());
|
||||||
}
|
}
|
||||||
|
|
||||||
CdbEngine::~CdbEngine() = default;
|
CdbEngine::~CdbEngine() = default;
|
||||||
@@ -690,7 +689,7 @@ void CdbEngine::shutdownEngine()
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Remote process. No can do, currently
|
// Remote process. No can do, currently
|
||||||
SynchronousProcess::stopProcess(m_process);
|
m_process.stopProcess();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user