Rework control flow for debug report generator.

- DebugReportGenerator is now its own BLooper that generates reports asynchronously
  instead of in TeamDebugger's message loop.
- If a stack trace isn't yet available, DebugReportGenerator now waits for it to
  be generated.
- Extended Team to add a listener event for report generation completing. DebugReportGenerator
  now generates such an event when it has finished writing a report.
This commit is contained in:
Rene Gollent
2012-11-24 00:44:00 -05:00
parent 793d00f975
commit 248c2ff45c
6 changed files with 143 additions and 30 deletions
@@ -147,9 +147,6 @@ private:
target_addr_t address,
TeamMemoryBlock::Listener* listener);
void _HandleGenerateDebugReport(
const entry_ref& target);
ThreadHandler* _GetThreadHandler(thread_id threadID);
status_t _AddImage(const ImageInfo& imageInfo,