aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackhandler.h
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2010-09-21 15:12:33 +0200
committerFriedemann Kleint <[email protected]>2010-09-21 15:12:33 +0200
commit1d978a3618838670f3a24932bfe9a316bfb5e307 (patch)
treed22d23cd10065649ee80192ff936f9d5fe6a15cb /src/plugins/debugger/stackhandler.h
parent0e318bfcf5244dde62e8afa46bd90d68bdaa0534 (diff)
Debugger: Sanitize Datatypes, part 2: Stackframes.
Make address a quint64. Enable DisassemblerViewAgent to match the disassembly-addresses by converting the numbers, making it more robust. Remove the complicated formatting needed for CDB.
Diffstat (limited to 'src/plugins/debugger/stackhandler.h')
-rw-r--r--src/plugins/debugger/stackhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/stackhandler.h b/src/plugins/debugger/stackhandler.h
index 56737603e10..3de7d2af743 100644
--- a/src/plugins/debugger/stackhandler.h
+++ b/src/plugins/debugger/stackhandler.h
@@ -75,12 +75,12 @@ public:
~StackHandler();
void setFrames(const StackFrames &frames, bool canExpand = false);
- StackFrames frames() const;
+ const StackFrames &frames() const;
void setCurrentIndex(int index);
int currentIndex() const { return m_currentIndex; }
StackFrame currentFrame() const;
int stackSize() const { return m_stackFrames.size(); }
- QString topAddress() const { return m_stackFrames.at(0).address; }
+ quint64 topAddress() const { return m_stackFrames.at(0).address; }
// Called from StackHandler after a new stack list has been received
void removeAll();