Trk: Make it run on Windows.

Add options page with overrideable device. Correct
wiring of the rfcomm process.
This commit is contained in:
Friedemann Kleint
2009-09-18 12:51:15 +02:00
parent 4843f44c30
commit 5c8e6e9f7c
13 changed files with 824 additions and 57 deletions

View File

@@ -31,6 +31,8 @@
#include "gdbengine.h"
#include "gdboptionspage.h"
#include "trkoptions.h"
#include "trkoptionspage.h"
#include "trkgdbadapter.h"
#include "watchutils.h"
@@ -4313,9 +4315,11 @@ IDebuggerEngine *createGdbEngine(DebuggerManager *parent,
IDebuggerEngine *createSymbianEngine(DebuggerManager *parent,
QList<Core::IOptionsPage*> *opts)
{
Q_UNUSED(opts);
//opts->push_back(new GdbOptionsPage);
TrkGdbAdapter *adapter = new TrkGdbAdapter;
QSharedPointer<TrkOptions> options(new TrkOptions);
options->fromSettings(Core::ICore::instance()->settings());
opts->push_back(new TrkOptionsPage(options));
TrkGdbAdapter *adapter = new TrkGdbAdapter(options);
GdbEngine *engine = new GdbEngine(parent, adapter);
QObject::connect(adapter, SIGNAL(output(QString)),
parent, SLOT(showDebuggerOutput(QString)));