diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-07-01 16:57:17 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-07-04 10:25:54 +0200 |
commit | b3812bf94f0f0e771ed832c14335ff868cfc0cff (patch) | |
tree | c96c9c23ccd9c1dd799fe4f49052f5db131116f8 /src/plugins/debugger/disassemblerlines.h | |
parent | 53295db969cef0b233a56faab3ed216c66961a37 (diff) | |
download | qt-creator-b3812bf94f0f0e771ed832c14335ff868cfc0cff.tar.gz |
Debugger: Make disassembler caching smarter.
Check if address is contained in range of lines.
Task-number: QTCREATORBUG-5205
Change-Id: I12a4f2f2f3837e164fd093e80fb427e9234136af
Reviewed-on: http://codereview.qt.nokia.com/1017
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/debugger/disassemblerlines.h')
-rw-r--r-- | src/plugins/debugger/disassemblerlines.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/debugger/disassemblerlines.h b/src/plugins/debugger/disassemblerlines.h index ae0160e638..59cf0a1255 100644 --- a/src/plugins/debugger/disassemblerlines.h +++ b/src/plugins/debugger/disassemblerlines.h @@ -83,6 +83,9 @@ public: const DisassemblerLine &at(int i) const { return m_data.at(i); } int lineForAddress(quint64 address) const; + quint64 startAddress() const; + quint64 endAddress() const; + private: QString m_lastFunction; QVector<DisassemblerLine> m_data; |