aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackhandler.h
diff options
context:
space:
mode:
authorhjk <[email protected]>2009-08-14 13:04:05 +0200
committerhjk <[email protected]>2009-08-17 13:18:54 +0200
commite82d6c7b057b012b417c3493e0493dbb1b59e0c2 (patch)
tree5e636aaeecdcf48daa52b74e6a5f6083f43f849f /src/plugins/debugger/stackhandler.h
parent74602f3119d3fa1ebd81fb8e485918eb3f9bee66 (diff)
debugger: create a disassembler view as main editor
"Stepping instruction wise" and "display disassembler" mode is now toggled by a single action. This also allows to re-use F10 and F11 as keyboard shortcut. Missing: caching of disassembler output, removal of old disassembler view.
Diffstat (limited to 'src/plugins/debugger/stackhandler.h')
-rw-r--r--src/plugins/debugger/stackhandler.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/plugins/debugger/stackhandler.h b/src/plugins/debugger/stackhandler.h
index 63f49e6c525..3fee2a5f872 100644
--- a/src/plugins/debugger/stackhandler.h
+++ b/src/plugins/debugger/stackhandler.h
@@ -30,11 +30,14 @@
#ifndef DEBUGGER_STACKHANDLER_H
#define DEBUGGER_STACKHANDLER_H
+#include "stackframe.h"
+
#include <QtCore/QAbstractTableModel>
#include <QtCore/QObject>
#include <QtGui/QIcon>
+
namespace Debugger {
namespace Internal {
@@ -44,21 +47,6 @@ namespace Internal {
//
////////////////////////////////////////////////////////////////////////
-struct StackFrame
-{
- StackFrame(int level = 0);
- bool isUsable() const;
- QString toToolTip() const;
-
- int level;
- QString function;
- QString file; // we try to put an absolute file name in there
- QString from;
- QString to;
- int line;
- QString address;
-};
-
/*! A model to represent the stack in a QTreeView. */
class StackHandler : public QAbstractTableModel
{