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.
This commit is contained in:
hjk
2009-08-14 13:04:05 +02:00
parent 74602f3119
commit e82d6c7b05
28 changed files with 757 additions and 209 deletions

View File

@@ -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
{