diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-02-01 18:36:00 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-02-21 18:33:23 +0100 |
commit | 8d0c47724599ad279a88e3632784be40cc4175da (patch) | |
tree | 7c4408a1d2f14f3ac5d33711fc1241ea8b4821d1 /src/plugins/debugger/gdb/gdboptionspage.h | |
parent | be31c80b02f752484e76faa215eae616a80e24e3 (diff) | |
download | qt-creator-8d0c47724599ad279a88e3632784be40cc4175da.tar.gz |
ToolChain: Refactor toolchain support
Refactor ToolChains in Qt Creator:
* Allow for several toolchains of the same type
* Be smarter wrt. guessing what kind of output a toolchain
produces. This allows us to eventually handle e.g. embedded
linux setups way better than before.
* Be smarter wrt. guessing what kind of environment a Qt version
needs.
* Improve auto-detection of toolchains a bit
* Decide on which debugger to use based on the kind of output
produced by the compiler.
* Add options page to configure toolchains
* Remove toolchain related options from the Qt version dialog
Reviewed-by: dt
Diffstat (limited to 'src/plugins/debugger/gdb/gdboptionspage.h')
-rw-r--r-- | src/plugins/debugger/gdb/gdboptionspage.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/plugins/debugger/gdb/gdboptionspage.h b/src/plugins/debugger/gdb/gdboptionspage.h index faf28cdcc3..3a7c9a2c74 100644 --- a/src/plugins/debugger/gdb/gdboptionspage.h +++ b/src/plugins/debugger/gdb/gdboptionspage.h @@ -39,6 +39,10 @@ #include <coreplugin/dialogs/ioptionspage.h> #include <utils/savedaction.h> +namespace ProjectExplorer { +class ToolChain; +} // namespace ProjectExplorer + namespace Debugger { namespace Internal { @@ -61,11 +65,15 @@ public: static QString settingsId(); - typedef QMultiMap<QString, int> GdbBinaryToolChainMap; - static GdbBinaryToolChainMap gdbBinaryToolChainMap; - static bool gdbBinariesChanged; - static void readGdbBinarySettings(); - static void writeGdbBinarySettings(); + typedef QMap<QString, QString> GdbBinaryToolChainMap; + static GdbBinaryToolChainMap abiToGdbMap; + static bool gdbMappingChanged; + static void readGdbSettings(); + static void writeGdbSettings(); + +private slots: + static void handleToolChainAdditions(ProjectExplorer::ToolChain *); + static void handleToolChainRemovals(ProjectExplorer::ToolChain *); private: Ui::GdbOptionsPage *m_ui; |