forked from qt-creator/qt-creator
debugger: start 'runcontrol-ification' of the debugger plugin.
This replaces most uses of DebuggerStartParameters by DebuggerRunControl which is a simple RunControl with a DebuggerStartParameters member. Plan is to move all global state to the run controls, and possibly introduce specialized ones for core debugging etc.
This commit is contained in:
@@ -514,9 +514,9 @@ void GdbEngine::tryLoadDebuggingHelpersClassic()
|
||||
|
||||
m_debuggingHelperState = DebuggingHelperLoadTried;
|
||||
QByteArray dlopenLib;
|
||||
if (startParameters().startMode == AttachToRemote
|
||||
|| startParameters().startMode == StartRemoteGdb)
|
||||
dlopenLib = startParameters().remoteDumperLib;
|
||||
if (runControl()->sp().startMode == AttachToRemote
|
||||
|| runControl()->sp().startMode == StartRemoteGdb)
|
||||
dlopenLib = runControl()->sp().remoteDumperLib;
|
||||
else
|
||||
dlopenLib = manager()->qtDumperLibraryName().toLocal8Bit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user