remove dead code

This commit is contained in:
Oswald Buddenhagen
2009-10-12 15:12:04 +02:00
parent 63882fc773
commit 9254bc0bb1
2 changed files with 0 additions and 33 deletions

View File

@@ -969,24 +969,6 @@ i */
}
}
void TrkGdbAdapter::executeCommand(const QString &msg)
{
if (msg == "EI") {
sendGdbMessage("-exec-interrupt");
} else if (msg == "C") {
sendTrkMessage(0x18, TrkCallback(), trkContinueMessage(), "CONTINUE");
} else if (msg == "S") {
sendTrkMessage(0x19, TrkCallback(), trkStepRangeMessage(0x01), "STEP");
} else if (msg == "N") {
sendTrkMessage(0x19, TrkCallback(), trkStepRangeMessage(0x11), "NEXT");
} else if (msg == "I") {
interruptInferior();
} else {
logMessage("EXECUTING GDB COMMAND " + msg);
sendGdbMessage(msg);
}
}
void TrkGdbAdapter::sendTrkMessage(byte code, TrkCallback callback,
const QByteArray &data, const QVariant &cookie)
{
@@ -1736,17 +1718,6 @@ void TrkGdbAdapter::startGdb()
m_gdbProc.start(m_options->gdb, gdbArgs);
}
void TrkGdbAdapter::sendGdbMessage(const QString &msg, GdbCallback callback,
const QVariant &cookie)
{
GdbCommand data;
data.command = msg;
data.callback = callback;
data.cookie = cookie;
logMessage(QString("<- ADAPTER TO GDB: %2").arg(msg));
m_gdbProc.write(msg.toLatin1() + "\n");
}
//
// Rfcomm process handling
//

View File

@@ -273,9 +273,6 @@ private:
//QTime postTime;
};
void sendGdbMessage(const QString &msg,
GdbCallback callback = GdbCallback(),
const QVariant &cookie = QVariant());
Q_SLOT void handleGdbConnection();
Q_SLOT void readGdbServerCommand();
void readGdbResponse();
@@ -316,7 +313,6 @@ private:
QString effectiveTrkDevice() const;
// Debuggee state
Q_SLOT void executeCommand(const QString &msg);
trk::Session m_session; // global-ish data (process id, target information)
Snapshot m_snapshot; // local-ish data (memory and registers)
QString m_remoteExecutable;