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:
hjk
2017-05-05 14:45:36 +02:00
parent c9cd6b1223
commit 1f6764a54e
31 changed files with 286 additions and 261 deletions

View File

@@ -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