diff --git a/src/plugins/debugger/gdbmi.cpp b/src/plugins/debugger/gdbmi.cpp index 82fdaf4fd13487684dd92c9de56e55de12008a26..abd84a4665c52fde5033632497fb26417935b737 100644 --- a/src/plugins/debugger/gdbmi.cpp +++ b/src/plugins/debugger/gdbmi.cpp @@ -277,18 +277,6 @@ GdbMi GdbMi::findChild(const QByteArray &name) const return GdbMi(); } - -GdbMi GdbMi::findChild(const QByteArray &name, const QByteArray &defaultData) const -{ - for (int i = 0; i < m_children.size(); ++i) - if (m_children.at(i).m_name == name) - return m_children.at(i); - GdbMi result; - result.m_data = defaultData; - return result; -} - - ////////////////////////////////////////////////////////////////////////////////// // // GdbResultRecord diff --git a/src/plugins/debugger/gdbmi.h b/src/plugins/debugger/gdbmi.h index 86dfb4f0ef3d9e9787af7116c4899ed945005d16..b47ad74b2082106afec8a6cd69511054bf32c87a 100644 --- a/src/plugins/debugger/gdbmi.h +++ b/src/plugins/debugger/gdbmi.h @@ -122,7 +122,6 @@ public: const GdbMi &childAt(int index) const { return m_children[index]; } GdbMi &childAt(int index) { return m_children[index]; } GdbMi findChild(const QByteArray &name) const; - GdbMi findChild(const QByteArray &name, const QByteArray &defaultString) const; QByteArray toString(bool multiline = false, int indent = 0) const; void fromString(const QByteArray &str);