Commit cd2dec1a authored by hjk's avatar hjk Committed by Paweł Polański

debugger: remove SymbianDebugClient enum

There is only CODA nowadays.

Change-Id: I8350baed5b66947593c5850491ac9606af3b737c
Reviewed-by: default avatarPaweł Polański <pawel.3.polanski@nokia.com>
parent 6c99fb02
......@@ -56,10 +56,6 @@ public:
CommunicationChannelUsb
};
enum SymbianDebugClient {
SymbianDebugClientCoda
};
DebuggerStartParameters()
: isSnapshot(false),
attachPID(-1),
......@@ -73,8 +69,7 @@ public:
startMode(NoStartMode),
executableUid(0),
communicationChannel(CommunicationChannelTcpIp),
serverPort(0),
debugClient(SymbianDebugClientCoda)
serverPort(0)
{}
QString executable;
......@@ -130,7 +125,6 @@ public:
CommunicationChannel communicationChannel;
QString serverAddress;
quint16 serverPort;
SymbianDebugClient debugClient;
};
} // namespace Debugger
......
......@@ -1933,9 +1933,7 @@ AbstractGdbAdapter *GdbEngine::createAdapter()
const DebuggerStartParameters &sp = startParameters();
if (sp.toolChainAbi.os() == Abi::SymbianOS) {
// FIXME: 1 of 3 testing hacks.
if (sp.debugClient == DebuggerStartParameters::SymbianDebugClientCoda)
return new CodaGdbAdapter(this);
return 0;
return new CodaGdbAdapter(this);
}
switch (sp.startMode) {
......
......@@ -110,8 +110,6 @@ static Debugger::DebuggerStartParameters s60DebuggerStartParams(const S60DeviceR
Debugger::DebuggerStartParameters::CommunicationChannelTcpIp:
Debugger::DebuggerStartParameters::CommunicationChannelUsb;
sp.debugClient = Debugger::DebuggerStartParameters::SymbianDebugClientCoda;
if (const ProjectExplorer::Project *project = rc->target()->project()) {
sp.projectSourceDirectory = project->projectDirectory();
if (const ProjectExplorer::BuildConfiguration *buildConfig = rc->target()->activeBuildConfiguration()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment