diff options
| author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-04-17 09:03:32 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-04-17 09:03:32 +0200 |
| commit | 7d41e04884e11ec7a1e4e1d84d5967a725aefa21 (patch) | |
| tree | 6bfbe1c5b194200c4c61802791b606dc867a66e4 /src/plugins/debugger/gdbengine.cpp | |
| parent | bc89f5dc4f90968fe6d26e05ed8dbb2b4038ec67 (diff) | |
| download | qt-creator-7d41e04884e11ec7a1e4e1d84d5967a725aefa21.tar.gz | |
Split apart debugger options pages, allow specifying a path to CDB.
Modify engine creation funcs to populate a list of option pages
to be able to handle engine enabling independently of the
actual engine creation.
Diffstat (limited to 'src/plugins/debugger/gdbengine.cpp')
| -rw-r--r-- | src/plugins/debugger/gdbengine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp index 0e161f1079..c4cbbc4cf7 100644 --- a/src/plugins/debugger/gdbengine.cpp +++ b/src/plugins/debugger/gdbengine.cpp @@ -28,6 +28,7 @@ **************************************************************************/ #include "gdbengine.h" +#include "gdboptionspage.h" #include "watchutils.h" #include "debuggeractions.h" @@ -4197,7 +4198,8 @@ void GdbEngine::recheckDebuggingHelperAvailability() sendCommand("p (char*)qDumpOutBuffer", GdbQueryDebuggingHelper); } -IDebuggerEngine *createGdbEngine(DebuggerManager *parent) +IDebuggerEngine *createGdbEngine(DebuggerManager *parent, QList<Core::IOptionsPage*> *opts) { + opts->push_back(new GdbOptionsPage); return new GdbEngine(parent); } |
