Debugger: More Debugger{Start,Run}Parameter separation

Fixes also the recent regression due to slicing when attaching
to a running application.

Change-Id: I6a7712811d6820b0c57658db10c5ff9790b4a338
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2015-06-04 10:31:27 +02:00
committed by David Schulz
parent 1db8775675
commit ad51a43c73
5 changed files with 86 additions and 78 deletions

View File

@@ -42,6 +42,11 @@ class RemoteSetupResult;
class DebuggerStartParameters;
class DebuggerRunControl;
namespace Internal {
class DebuggerRunParameters;
DebuggerRunControl *createDebuggerRunControlInternal(const DebuggerRunParameters &, QString *);
}
DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
QString *errorMessage);
@@ -83,8 +88,8 @@ signals:
private:
void handleFinished();
friend DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(
const DebuggerStartParameters &sp, QString *errorMessage);
friend DebuggerRunControl *Debugger::Internal::createDebuggerRunControlInternal(
const Internal::DebuggerRunParameters &rp, QString *errorMessage);
DebuggerRunControl(ProjectExplorer::RunConfiguration *runConfig,
Internal::DebuggerEngine *engine);