mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-05 20:16:32 +00: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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user