debugger: start with some infrastructure for tracepoint support

This commit is contained in:
hjk
2010-12-16 13:02:59 +01:00
parent be1f662104
commit f0b6bce057
8 changed files with 36 additions and 4 deletions

View File

@@ -77,7 +77,9 @@ public:
bool equals(const BreakpointParameters &rhs) const;
bool conditionsMatch(const QByteArray &other) const;
bool isWatchpoint() const { return type == Watchpoint; }
bool isBreakpoint() const { return type != Watchpoint; } // Enough for now.
// Enough for now.
bool isBreakpoint() const { return type != Watchpoint && !tracepoint; }
bool isTracepoint() const { return tracepoint; }
QString toString() const;
bool operator==(const BreakpointParameters &p) const { return equals(p); }
@@ -93,6 +95,7 @@ public:
quint64 address; // Address for watchpoints.
int threadSpec; // Thread specification.
QString functionName;
bool tracepoint;
};