summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/cdb/cdbstacktracecontext.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-04-14 15:04:19 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-04-14 15:04:19 +0200
commitd4ccc16f9fe5dcadeddf0a2d49cdeff409812deb (patch)
treef9b6b83334422c559914f50a6fe8673e7134d3d5 /src/plugins/debugger/cdb/cdbstacktracecontext.h
parentb95af44c0dbdc9ff367e841cbe262cdc10fc292e (diff)
downloadqt-creator-d4ccc16f9fe5dcadeddf0a2d49cdeff409812deb.tar.gz
Implement disassembler for cdb.
Filter debugging output correctly, some glitches. Extract base class for debugging output to be able to intercept debugging output for other purposes (such as disassembling).
Diffstat (limited to 'src/plugins/debugger/cdb/cdbstacktracecontext.h')
-rw-r--r--src/plugins/debugger/cdb/cdbstacktracecontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/debugger/cdb/cdbstacktracecontext.h b/src/plugins/debugger/cdb/cdbstacktracecontext.h
index bb8286859e..4f3be5c5fc 100644
--- a/src/plugins/debugger/cdb/cdbstacktracecontext.h
+++ b/src/plugins/debugger/cdb/cdbstacktracecontext.h
@@ -66,6 +66,9 @@ public:
QList<StackFrame> frames() const { return m_frames; }
inline int frameCount() const { return m_frames.size(); }
+ // Top-Level instruction offset for disassembler
+ ULONG64 instructionOffset() const { return m_instructionOffset; }
+
CdbSymbolGroupContext *symbolGroupContextAt(int index, QString *errorMessage);
private:
@@ -78,6 +81,7 @@ private:
DEBUG_STACK_FRAME m_cdbFrames[maxFrames];
QVector <CdbSymbolGroupContext*> m_symbolContexts;
QList<StackFrame> m_frames;
+ ULONG64 m_instructionOffset;
};
}