debugger: fix some breakpoint state transitions in gdb engine

This commit is contained in:
hjk
2010-11-18 16:16:23 +01:00
parent caa9a99228
commit abd7ab2cd5
3 changed files with 23 additions and 2 deletions

View File

@@ -678,6 +678,12 @@ void BreakHandler::notifyBreakpointRemoveFailed(BreakpointId id)
cleanupBreakpoint(id);
}
void BreakHandler::notifyBreakpointChangeProceeding(BreakpointId id)
{
QTC_ASSERT(state(id) == BreakpointChangeRequested, /**/);
setState(id, BreakpointChangeProceeding);
}
void BreakHandler::notifyBreakpointChangeOk(BreakpointId id)
{
QTC_ASSERT(state(id) == BreakpointChangeProceeding, /**/);