mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-04 13:44:33 +01:00
Refactoring in preparation for microdump processing
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1370 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
a58de86bcd
commit
54c2560a82
22 changed files with 1058 additions and 666 deletions
|
|
@ -280,7 +280,7 @@ static void ProcessSingleReport(Options *options, NSString *file_path) {
|
|||
|
||||
// Print all of the threads in the dump.
|
||||
int thread_count = static_cast<int>(process_state.threads()->size());
|
||||
const std::vector<google_breakpad::MinidumpMemoryRegion*>
|
||||
const std::vector<google_breakpad::MemoryRegion*>
|
||||
*thread_memory_regions = process_state.thread_memory_regions();
|
||||
|
||||
for (int thread_index = 0; thread_index < thread_count; ++thread_index) {
|
||||
|
|
@ -289,7 +289,7 @@ static void ProcessSingleReport(Options *options, NSString *file_path) {
|
|||
printf("\n");
|
||||
printf("Thread %d\n", thread_index);
|
||||
PrintStack(process_state.threads()->at(thread_index), cpu);
|
||||
google_breakpad::MinidumpMemoryRegion *thread_stack_bytes =
|
||||
google_breakpad::MemoryRegion *thread_stack_bytes =
|
||||
thread_memory_regions->at(thread_index);
|
||||
if (options->printThreadMemory) {
|
||||
thread_stack_bytes->Print();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue