summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdbengine.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-04-17 09:03:32 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-04-17 09:03:32 +0200
commit7d41e04884e11ec7a1e4e1d84d5967a725aefa21 (patch)
tree6bfbe1c5b194200c4c61802791b606dc867a66e4 /src/plugins/debugger/gdbengine.cpp
parentbc89f5dc4f90968fe6d26e05ed8dbb2b4038ec67 (diff)
downloadqt-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.cpp4
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);
}