Debugger: Remove unused DebuggerEngine::isSynchronous

Change-Id: Ia1eb3a65fabbf966a1766d68456144fd9e093ae8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-07-24 12:47:24 +02:00
parent 0a0e56fe3b
commit 00c926b6b4
8 changed files with 0 additions and 17 deletions

View File

@@ -1273,11 +1273,6 @@ void DebuggerEngine::addOptionPages(QList<IOptionsPage*> *) const
{ {
} }
bool DebuggerEngine::isSynchronous() const
{
return false;
}
QString DebuggerEngine::qtNamespace() const QString DebuggerEngine::qtNamespace() const
{ {
return d->m_qtNamespace; return d->m_qtNamespace;

View File

@@ -301,7 +301,6 @@ public:
virtual bool hasCapability(unsigned cap) const = 0; virtual bool hasCapability(unsigned cap) const = 0;
virtual void debugLastCommand() {} virtual void debugLastCommand() {}
virtual bool isSynchronous() const;
virtual QString qtNamespace() const; virtual QString qtNamespace() const;
void setQtNamespace(const QString &ns); void setQtNamespace(const QString &ns);

View File

@@ -176,8 +176,6 @@ private: ////////// General Interface //////////
void handleStop3(); void handleStop3();
void resetCommandQueue(); void resetCommandQueue();
bool isSynchronous() const final { return true; }
// Gdb initialization sequence // Gdb initialization sequence
void handleShowVersion(const DebuggerResponse &response); void handleShowVersion(const DebuggerResponse &response);
void handleListFeatures(const DebuggerResponse &response); void handleListFeatures(const DebuggerResponse &response);

View File

@@ -110,7 +110,6 @@ private:
void reloadDebuggingHelpers() override; void reloadDebuggingHelpers() override;
void fetchDisassembler(Internal::DisassemblerAgent *) override; void fetchDisassembler(Internal::DisassemblerAgent *) override;
bool isSynchronous() const override { return true; }
void setRegisterValue(const QString &name, const QString &value) override; void setRegisterValue(const QString &name, const QString &value) override;
void fetchMemory(MemoryAgent *, quint64 addr, quint64 length) override; void fetchMemory(MemoryAgent *, quint64 addr, quint64 length) override;

View File

@@ -88,7 +88,6 @@ private:
void reloadFullStack() override {} void reloadFullStack() override {}
bool supportsThreads() const { return true; } bool supportsThreads() const { return true; }
bool isSynchronous() const override { return true; }
void updateItem(const QString &iname) override; void updateItem(const QString &iname) override;
void runCommand(const DebuggerCommand &cmd) override; void runCommand(const DebuggerCommand &cmd) override;

View File

@@ -207,11 +207,6 @@ bool QmlCppEngine::hasCapability(unsigned cap) const
return hasCap; return hasCap;
} }
bool QmlCppEngine::isSynchronous() const
{
return m_activeEngine->isSynchronous();
}
QString QmlCppEngine::qtNamespace() const QString QmlCppEngine::qtNamespace() const
{ {
return m_cppEngine->qtNamespace(); return m_cppEngine->qtNamespace();

View File

@@ -65,7 +65,6 @@ public:
void setRegisterValue(const QString &name, const QString &value) override; void setRegisterValue(const QString &name, const QString &value) override;
bool hasCapability(unsigned cap) const override; bool hasCapability(unsigned cap) const override;
bool isSynchronous() const override;
QString qtNamespace() const override; QString qtNamespace() const override;
void createSnapshot() override; void createSnapshot() override;

View File

@@ -70,7 +70,6 @@ private:
void gotoLocation(const Internal::Location &location) override; void gotoLocation(const Internal::Location &location) override;
void insertBreakpoint(Breakpoint bp) override; void insertBreakpoint(Breakpoint bp) override;
bool isSynchronous() const override { return false; }
bool canDisplayTooltip() const override { return false; } bool canDisplayTooltip() const override { return false; }
void resetLocation() override; void resetLocation() override;