Debugger: Cleanup.

ThreadHandler:
- Simplify SetBreakpointAndRun() to always use the debugger interface to
  continue execution, since the latter is now intelligent enough to determine
  how to handle that in all cases. Adjust callers accordingly.
This commit is contained in:
Rene Gollent
2015-07-31 17:28:02 -04:00
parent 27dec4bb1e
commit 5e95945071
3 changed files with 5 additions and 13 deletions
@@ -1962,7 +1962,7 @@ TeamDebugger::_HandleImageDebugInfoChanged(image_id imageID)
SymbolInfo symbolInfo;
if (fDebuggerInterface->GetSymbolInfo(fTeam->ID(), image->ID(),
"main", B_SYMBOL_TYPE_TEXT, symbolInfo) == B_OK) {
handler->SetBreakpointAndRun(symbolInfo.Address(), false);
handler->SetBreakpointAndRun(symbolInfo.Address());
}
} else {
locker.Unlock();