Pretty print backtrace in unwind test.
Helps development by including the library/file name in the trace.
Test: testrunner.py --host -t 137
Change-Id: I8b023276fa1d6c37b9fcacc9e9cb76f207ee7a77
diff --git a/test/137-cfi/cfi.cc b/test/137-cfi/cfi.cc
index bdfb44a..6cb5aec 100644
--- a/test/137-cfi/cfi.cc
+++ b/test/137-cfi/cfi.cc
@@ -83,7 +83,7 @@
printf("Cannot find %s in backtrace:\n", seq[cur_search_index].c_str());
for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) {
if (BacktraceMap::IsValid(it->map)) {
- printf(" %s\n", it->func_name.c_str());
+ printf(" %s\n", Backtrace::FormatFrameData(&*it).c_str());
}
}