Commit d131e201 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove reentrancy guard from attemptBreakpointSynchronization()

there is no way it could happen
parent 283ceee0
......@@ -2140,11 +2140,6 @@ void GdbEngine::handleBreakInsert1(const GdbResultRecord &record, const QVariant
void GdbEngine::attemptBreakpointSynchronization()
{
// Non-lethal check for nested calls
static bool inBreakpointSychronization = false;
QTC_ASSERT(!inBreakpointSychronization, /**/);
inBreakpointSychronization = true;
BreakHandler *handler = qq->breakHandler();
foreach (BreakpointData *data, handler->takeDisabledBreakpoints()) {
......@@ -2206,8 +2201,6 @@ void GdbEngine::attemptBreakpointSynchronization()
handler->updateMarkers();
}
}
inBreakpointSychronization = false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment