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:
Friedemann Kleint
2010-06-25 15:06:30 +02:00
parent 03be40ddcd
commit beba423a16
21 changed files with 4830 additions and 315 deletions

View File

@@ -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);