forked from qt-creator/qt-creator
Debugger: Remove DebuggerRunControl
Use plain RunControl + DebuggerRunTool combo instead. Change-Id: Ib71b5eab50da667b9d71dcc6689d2643ad8ecdee Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -159,8 +159,8 @@ void MemcheckWithGdbRunControl::startDebugger()
|
||||
sp.expectedSignals.append("SIGTRAP");
|
||||
|
||||
QString errorMessage;
|
||||
RunControl *gdbRunControl = Debugger::createDebuggerRunControl(sp, runConfiguration(), &errorMessage);
|
||||
QTC_ASSERT(gdbRunControl, return);
|
||||
auto *gdbRunControl = new RunControl(nullptr, ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
(void) new Debugger::DebuggerRunTool(gdbRunControl, sp, &errorMessage);
|
||||
connect(gdbRunControl, &RunControl::finished,
|
||||
gdbRunControl, &RunControl::deleteLater);
|
||||
gdbRunControl->initiateStart();
|
||||
|
||||
Reference in New Issue
Block a user