forked from qt-creator/qt-creator
Debugger[Trk]: Added TCF experimental adapter.
Added adapter to work with TCF over WLAN. Factor out common code for Symbian from TrkAdapter. Improve message logging in TrkGdbAdapter, some cleanup. Added new TcfTrkGdbAdapter based on TcfTrkDevice in symbianutils based on JSON, using QTcpSocket. To be started via special @tcf@ argument. Rubber-stamped-by: hjk
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "remotegdbserveradapter.h"
|
||||
#include "remoteplaingdbadapter.h"
|
||||
#include "trkgdbadapter.h"
|
||||
#include "tcftrkgdbadapter.h"
|
||||
|
||||
#include "watchutils.h"
|
||||
#include "debuggeractions.h"
|
||||
@@ -1745,15 +1746,14 @@ AbstractGdbAdapter *GdbEngine::createAdapter()
|
||||
case ProjectExplorer::ToolChain::RVCT_ARMV6:
|
||||
case ProjectExplorer::ToolChain::RVCT_ARMV5_GNUPOC:
|
||||
case ProjectExplorer::ToolChain::GCCE_GNUPOC:
|
||||
// fixme: 1 of 3 testing hacks
|
||||
if (sp.processArgs.size() >= 5 && sp.processArgs.at(0) == _("@tcf@"))
|
||||
return new TcfTrkGdbAdapter(this);
|
||||
return new TrkGdbAdapter(this);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// @todo: remove testing hack
|
||||
if (sp.processArgs.size() == 3 && sp.processArgs.at(0) == _("@sym@"))
|
||||
return new TrkGdbAdapter(this);
|
||||
|
||||
switch (sp.startMode) {
|
||||
case AttachCore:
|
||||
return new CoreGdbAdapter(this);
|
||||
|
||||
Reference in New Issue
Block a user