forked from qt-creator/qt-creator
debugger: remove SymbianDebugClient enum
There is only CODA nowadays. Change-Id: I8350baed5b66947593c5850491ac9606af3b737c Reviewed-by: Paweł Polański <pawel.3.polanski@nokia.com>
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user