debugger: move isCppBreakpoint to Breakpoint

Change-Id: I241401fa010166982e5a95a699c99fbaa87188ef
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-01-24 16:41:30 +01:00
committed by hjk
parent 983a6ef506
commit 7201923562
7 changed files with 19 additions and 19 deletions

View File

@@ -2932,7 +2932,7 @@ bool GdbEngine::stateAcceptsBreakpointChanges() const
bool GdbEngine::acceptsBreakpoint(BreakpointModelId id) const
{
return DebuggerEngine::isCppBreakpoint(breakHandler()->breakpointData(id))
return breakHandler()->breakpointData(id).isCppBreakpoint()
&& startParameters().startMode != AttachCore;
}