From 54c2560a82ec0a1c48c087c78b802e72a5459c53 Mon Sep 17 00:00:00 2001 From: "mmandlis@chromium.org" Date: Mon, 8 Sep 2014 19:10:42 +0000 Subject: Refactoring in preparation for microdump processing git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1370 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/tools/mac/crash_report/crash_report.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools') diff --git a/src/tools/mac/crash_report/crash_report.mm b/src/tools/mac/crash_report/crash_report.mm index 8b10b646..f68200c7 100644 --- a/src/tools/mac/crash_report/crash_report.mm +++ b/src/tools/mac/crash_report/crash_report.mm @@ -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(process_state.threads()->size()); - const std::vector + const std::vector *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(); -- cgit v1.2.1