diff options
author | hjk <qtc-committer@nokia.com> | 2010-12-16 13:02:59 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-12-16 13:35:41 +0100 |
commit | f0b6bce057d4dffd30482b5658bca5419d5ba0b4 (patch) | |
tree | 460fb88b41a664c6155b80674abb3fc854687c71 /src/plugins/debugger/breakpoint.cpp | |
parent | be1f662104ec4411dad479f1fa4ec36af9b7395f (diff) | |
download | qt-creator-f0b6bce057d4dffd30482b5658bca5419d5ba0b4.tar.gz |
debugger: start with some infrastructure for tracepoint support
Diffstat (limited to 'src/plugins/debugger/breakpoint.cpp')
-rw-r--r-- | src/plugins/debugger/breakpoint.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/debugger/breakpoint.cpp b/src/plugins/debugger/breakpoint.cpp index 9c4d56b9e9..3af66d56de 100644 --- a/src/plugins/debugger/breakpoint.cpp +++ b/src/plugins/debugger/breakpoint.cpp @@ -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; } |