Commit 68c0ee28 authored by hjk's avatar hjk
Browse files

debugger: remove some #ifdef Q_OS_*

parent 46fa3aa7
......@@ -1266,6 +1266,7 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
}
#endif
// FIXME: Replace the #ifdef by the "target" architecture
#ifdef Q_OS_LINUX
if (!m_entryPoint.isEmpty()) {
GdbMi frameData = data.findChild("frame");
......@@ -1463,7 +1464,6 @@ void GdbEngine::handleStop1(const GdbMi &data)
manager()->reloadRegisters();
}
#ifdef Q_OS_LINUX
void GdbEngine::handleInfoProc(const GdbResponse &response)
{
if (response.resultClass == GdbResultDone) {
......@@ -1473,7 +1473,6 @@ void GdbEngine::handleInfoProc(const GdbResponse &response)
maybeHandleInferiorPidChanged(re.cap(1));
}
}
#endif
void GdbEngine::handleShowVersion(const GdbResponse &response)
{
......
......@@ -321,11 +321,8 @@ private: ////////// Inferior Management //////////
qint64 inferiorPid() const { return m_manager->inferiorPid(); }
void handleInferiorPidChanged(qint64 pid) { manager()->notifyInferiorPidChanged(pid); }
void maybeHandleInferiorPidChanged(const QString &pid);
#ifdef Q_OS_LINUX
void handleInfoProc(const GdbResponse &response);
#endif
QByteArray m_entryPoint;
QFutureInterface<void> *m_progress;
......
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