debugger: introduce the concept of a 'Location', used by gotoLocation

This commit is contained in:
hjk
2010-12-16 19:06:33 +01:00
parent 39c145bf93
commit 9757e22113
14 changed files with 112 additions and 94 deletions

View File

@@ -45,8 +45,7 @@ class DebuggerEngine;
namespace Internal {
class StackFrame;
class DisassemblerAgent;
class Location;
class DisassemblerAgentPrivate;
class DisassemblerAgent : public QObject
@@ -58,8 +57,9 @@ public:
explicit DisassemblerAgent(DebuggerEngine *engine);
~DisassemblerAgent();
void setFrame(const StackFrame &frame, bool tryMixed, bool setMarker);
const StackFrame &frame() const;
void setTryMixed(bool on);
void setLocation(const Location &location);
const Location &location() const;
void resetLocation();
void setContents(const DisassemblerLines &contents);
void updateLocationMarker();