ThreadHandler: allow an optional stop reason to be passed to...

...HandleThreadDebugged().
This commit is contained in:
Rene Gollent
2013-07-07 12:55:23 -04:00
parent 9a14c8a25d
commit ea84db9e2f
2 changed files with 5 additions and 3 deletions
@@ -98,9 +98,10 @@ ThreadHandler::SetBreakpointAndRun(target_addr_t address)
bool
ThreadHandler::HandleThreadDebugged(ThreadDebuggedEvent* event)
ThreadHandler::HandleThreadDebugged(ThreadDebuggedEvent* event,
const BString& stoppedReason)
{
return _HandleThreadStopped(NULL, THREAD_STOPPED_DEBUGGED);
return _HandleThreadStopped(NULL, THREAD_STOPPED_DEBUGGED, stoppedReason);
}