From 6da15db62c796de1cd1b01eb8976cdffeddeedf8 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 20 Oct 2011 10:45:59 +0200 Subject: Debugger: Prevent adding invalid breakpoints. Check on session restore and add. In particular, suppress watchpoints at 0x0, which hang gdb. Change-Id: I648f53a709fabdebe641e478f367f1354a315ab1 Reviewed-by: hjk --- src/plugins/debugger/breakpoint.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/debugger/breakpoint.h') diff --git a/src/plugins/debugger/breakpoint.h b/src/plugins/debugger/breakpoint.h index b1636be10c..a04a718bf2 100644 --- a/src/plugins/debugger/breakpoint.h +++ b/src/plugins/debugger/breakpoint.h @@ -203,6 +203,7 @@ class BreakpointParameters public: explicit BreakpointParameters(BreakpointType = UnknownType); BreakpointParts differencesTo(const BreakpointParameters &rhs) const; + bool isValid() const; bool equals(const BreakpointParameters &rhs) const; bool conditionsMatch(const QByteArray &other) const; bool isWatchpoint() const -- cgit v1.2.1