From 2ab79e755ba0c4d4f0a6b8a969baa630ce71f81e Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 3 Nov 2011 17:30:54 -0700 Subject: [PATCH] Slight change to the unwinder API. Change-Id: I5424de76a21b74842e004e0281936b3f492d3c7a --- libs/utils/CallStack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/utils/CallStack.cpp b/libs/utils/CallStack.cpp index d79a75780..b4c581b03 100644 --- a/libs/utils/CallStack.cpp +++ b/libs/utils/CallStack.cpp @@ -103,7 +103,7 @@ void CallStack::dump(const char* prefix) const { for (size_t i = 0; i < mCount; i++) { const backtrace_frame_t& frame = mStack[i]; const backtrace_symbol_t& symbol = symbols[i]; - const char* mapName = symbol.map_info ? symbol.map_info->name : ""; + const char* mapName = symbol.map_name ? symbol.map_name : ""; const char* symbolName = symbol.demangled_name ? symbol.demangled_name : symbol.name; if (symbolName) { LOGD("%s#%02d pc %08x %s (%s)\n", prefix, @@ -124,7 +124,7 @@ String8 CallStack::toString(const char* prefix) const { for (size_t i = 0; i < mCount; i++) { const backtrace_frame_t& frame = mStack[i]; const backtrace_symbol_t& symbol = symbols[i]; - const char* mapName = symbol.map_info ? symbol.map_info->name : ""; + const char* mapName = symbol.map_name ? symbol.map_name : ""; const char* symbolName = symbol.demangled_name ? symbol.demangled_name : symbol.name; if (symbolName) { str.appendFormat("%s#%02d pc %08x %s (%s)\n", prefix,