summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-11-03 17:30:54 -0700
committerAlex Ray <aray@google.com>2013-07-30 13:56:58 -0700
commite7f371657255d0b407d375a3342d4fea3cf3cfa1 (patch)
tree623d6ac6d435ea0e1d5dbf002b8cf580bcefa1fa
parent7451bb44100d9d4915c3c4e4366ab92213947b4b (diff)
downloadsystem_core-e7f371657255d0b407d375a3342d4fea3cf3cfa1.zip
system_core-e7f371657255d0b407d375a3342d4fea3cf3cfa1.tar.gz
system_core-e7f371657255d0b407d375a3342d4fea3cf3cfa1.tar.bz2
Slight change to the unwinder API.
Change-Id: I5424de76a21b74842e004e0281936b3f492d3c7a
-rw-r--r--libs/utils/CallStack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/utils/CallStack.cpp b/libs/utils/CallStack.cpp
index d79a757..b4c581b 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 : "<unknown>";
+ const char* mapName = symbol.map_name ? symbol.map_name : "<unknown>";
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 : "<unknown>";
+ const char* mapName = symbol.map_name ? symbol.map_name : "<unknown>";
const char* symbolName = symbol.demangled_name ? symbol.demangled_name : symbol.name;
if (symbolName) {
str.appendFormat("%s#%02d pc %08x %s (%s)\n", prefix,