diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-09-05 14:56:08 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-09-05 15:49:11 +0200 |
commit | af6bbc442ecb60d2ddcb37752215f6a2e3e5bea4 (patch) | |
tree | 1819ebb9f2fea4bdbb30e96c2783c6508ebc5726 /src/plugins/debugger/debuggerstartparameters.h | |
parent | 824d04252e1c2d461dadc09c657d2c896b0c74ad (diff) | |
download | qt-creator-af6bbc442ecb60d2ddcb37752215f6a2e3e5bea4.tar.gz |
Add debugger engine type to configuration.
Introduce a struct DebuggerItem as a debugger configuration
item, containing debugger engine type and binary. Store
information as a variant map. Add a combo box.
Remove engine guessing logic. Parts of it are still required
when checking the suggested debugger from the SDK.
Split error checking to be able to do a quick error check
and find only valid profiles in the matchers.
Pass on errors up to RunControl::create().
Change-Id: I08653e2a76ca2c371701082f8173b0b8f8ed462e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/debugger/debuggerstartparameters.h')
-rw-r--r-- | src/plugins/debugger/debuggerstartparameters.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerstartparameters.h b/src/plugins/debugger/debuggerstartparameters.h index 09e0a4f554..3db9f9b218 100644 --- a/src/plugins/debugger/debuggerstartparameters.h +++ b/src/plugins/debugger/debuggerstartparameters.h @@ -60,6 +60,7 @@ public: : masterEngineType(NoEngineType), firstSlaveEngineType(NoEngineType), secondSlaveEngineType(NoEngineType), + cppEngineType(NoEngineType), isSnapshot(false), attachPID(-1), useTerminal(false), @@ -81,6 +82,7 @@ public: DebuggerEngineType masterEngineType; DebuggerEngineType firstSlaveEngineType; DebuggerEngineType secondSlaveEngineType; + DebuggerEngineType cppEngineType; QString sysRoot; QString debuggerCommand; ProjectExplorer::Abi toolChainAbi; @@ -140,7 +142,7 @@ public: namespace Internal { -void fillParameters(DebuggerStartParameters *sp, const ProjectExplorer::Kit *kit = 0); +bool fillParameters(DebuggerStartParameters *sp, const ProjectExplorer::Kit *kit = 0, QString *errorMessage = 0); } // namespace Internal } // namespace Debugger |