forked from qt-creator/qt-creator
Debugger: Move run parameters from engine to tool runner
The parameters belong to the run control, they should not be triplicated in case of a combined engine. Change-Id: I4dd84220edbd7a44b902cc52627fe01d0568db75 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -63,10 +63,9 @@ using namespace Core;
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
PdbEngine::PdbEngine(const DebuggerRunParameters &startParameters)
|
||||
: DebuggerEngine(startParameters)
|
||||
PdbEngine::PdbEngine()
|
||||
{
|
||||
setObjectName(QLatin1String("PdbEngine"));
|
||||
setObjectName("PdbEngine");
|
||||
}
|
||||
|
||||
void PdbEngine::executeDebuggerCommand(const QString &command, DebuggerLanguages languages)
|
||||
@@ -579,9 +578,9 @@ bool PdbEngine::hasCapability(unsigned cap) const
|
||||
| ShowModuleSymbolsCapability);
|
||||
}
|
||||
|
||||
DebuggerEngine *createPdbEngine(const DebuggerRunParameters &startParameters)
|
||||
DebuggerEngine *createPdbEngine()
|
||||
{
|
||||
return new PdbEngine(startParameters);
|
||||
return new PdbEngine;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user