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

@@ -43,7 +43,8 @@ namespace Internal {
BreakpointParameters::BreakpointParameters(BreakpointType t)
: type(t), enabled(true), useFullPath(false),
ignoreCount(0), lineNumber(0), address(0), threadSpec(-1)
ignoreCount(0), lineNumber(0), address(0), threadSpec(-1),
tracepoint(false)
{}
bool BreakpointParameters::equals(const BreakpointParameters &rhs) const
@@ -57,7 +58,8 @@ bool BreakpointParameters::equals(const BreakpointParameters &rhs) const
&& lineNumber == rhs.lineNumber
&& address == rhs.address
&& threadSpec == rhs.threadSpec
&& functionName == rhs.functionName;
&& functionName == rhs.functionName
&& tracepoint == rhs.tracepoint;
}
bool BreakpointParameters::conditionsMatch(const QByteArray &other) const
@@ -81,6 +83,7 @@ QString BreakpointParameters::toString() const
ts << " Address: " << address;
ts << " FunctionName: " << functionName;
ts << " UseFullPath: " << useFullPath;
ts << " Tracepoint: " << tracepoint;
return result;
}