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
|
CommunicationChannelUsb
|
||||||
};
|
};
|
||||||
|
|
||||||
enum SymbianDebugClient {
|
|
||||||
SymbianDebugClientCoda
|
|
||||||
};
|
|
||||||
|
|
||||||
DebuggerStartParameters()
|
DebuggerStartParameters()
|
||||||
: isSnapshot(false),
|
: isSnapshot(false),
|
||||||
attachPID(-1),
|
attachPID(-1),
|
||||||
@@ -73,8 +69,7 @@ public:
|
|||||||
startMode(NoStartMode),
|
startMode(NoStartMode),
|
||||||
executableUid(0),
|
executableUid(0),
|
||||||
communicationChannel(CommunicationChannelTcpIp),
|
communicationChannel(CommunicationChannelTcpIp),
|
||||||
serverPort(0),
|
serverPort(0)
|
||||||
debugClient(SymbianDebugClientCoda)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
QString executable;
|
QString executable;
|
||||||
@@ -130,7 +125,6 @@ public:
|
|||||||
CommunicationChannel communicationChannel;
|
CommunicationChannel communicationChannel;
|
||||||
QString serverAddress;
|
QString serverAddress;
|
||||||
quint16 serverPort;
|
quint16 serverPort;
|
||||||
SymbianDebugClient debugClient;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Debugger
|
} // namespace Debugger
|
||||||
|
|||||||
@@ -1933,9 +1933,7 @@ AbstractGdbAdapter *GdbEngine::createAdapter()
|
|||||||
const DebuggerStartParameters &sp = startParameters();
|
const DebuggerStartParameters &sp = startParameters();
|
||||||
if (sp.toolChainAbi.os() == Abi::SymbianOS) {
|
if (sp.toolChainAbi.os() == Abi::SymbianOS) {
|
||||||
// FIXME: 1 of 3 testing hacks.
|
// FIXME: 1 of 3 testing hacks.
|
||||||
if (sp.debugClient == DebuggerStartParameters::SymbianDebugClientCoda)
|
return new CodaGdbAdapter(this);
|
||||||
return new CodaGdbAdapter(this);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (sp.startMode) {
|
switch (sp.startMode) {
|
||||||
|
|||||||
@@ -110,8 +110,6 @@ static Debugger::DebuggerStartParameters s60DebuggerStartParams(const S60DeviceR
|
|||||||
Debugger::DebuggerStartParameters::CommunicationChannelTcpIp:
|
Debugger::DebuggerStartParameters::CommunicationChannelTcpIp:
|
||||||
Debugger::DebuggerStartParameters::CommunicationChannelUsb;
|
Debugger::DebuggerStartParameters::CommunicationChannelUsb;
|
||||||
|
|
||||||
sp.debugClient = Debugger::DebuggerStartParameters::SymbianDebugClientCoda;
|
|
||||||
|
|
||||||
if (const ProjectExplorer::Project *project = rc->target()->project()) {
|
if (const ProjectExplorer::Project *project = rc->target()->project()) {
|
||||||
sp.projectSourceDirectory = project->projectDirectory();
|
sp.projectSourceDirectory = project->projectDirectory();
|
||||||
if (const ProjectExplorer::BuildConfiguration *buildConfig = rc->target()->activeBuildConfiguration()) {
|
if (const ProjectExplorer::BuildConfiguration *buildConfig = rc->target()->activeBuildConfiguration()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user