forked from qt-creator/qt-creator
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user