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

@@ -50,6 +50,8 @@ class IMode;
namespace TextEditor {
class ITextEditor;
class ITextMark;
class BaseTextMark;
}
namespace Debugger {
@@ -59,7 +61,8 @@ class BreakpointData;
class DebuggerManager;
class DebuggerRunner;
class DebugMode;
class LocationMark;
class DisassemblerViewAgent;
class StackFrame;
class DebuggerPlugin : public ExtensionSystem::IPlugin
{
@@ -94,7 +97,7 @@ private slots:
void updateActions(int status);
void resetLocation();
void gotoLocation(const QString &fileName, int line, bool setMarker);
void gotoLocation(const StackFrame &frame, bool setMarker);
void breakpointSetRemoveMarginActionTriggered();
void breakpointEnableDisableMarginActionTriggered();
@@ -127,7 +130,8 @@ private:
DebuggerRunner *m_debuggerRunner;
QString m_previousMode;
LocationMark *m_locationMark;
TextEditor::BaseTextMark *m_locationMark;
DisassemblerViewAgent *m_disassemblerViewAgent;
int m_gdbRunningContext;
unsigned m_cmdLineEnabledEngines;
quint64 m_cmdLineAttachPid;