diff options
Diffstat (limited to 'libunwindstack/Unwinder.cpp')
-rw-r--r-- | libunwindstack/Unwinder.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libunwindstack/Unwinder.cpp b/libunwindstack/Unwinder.cpp index 3092a62c2..4ae365d59 100644 --- a/libunwindstack/Unwinder.cpp +++ b/libunwindstack/Unwinder.cpp | |||
@@ -174,8 +174,7 @@ std::string Unwinder::FormatFrame(size_t frame_num) { | |||
174 | if (frame_num >= frames_.size()) { | 174 | if (frame_num >= frames_.size()) { |
175 | return ""; | 175 | return ""; |
176 | } | 176 | } |
177 | return FormatFrame(frames_[frame_num], | 177 | return FormatFrame(frames_[frame_num], regs_->Arch() == ARCH_ARM || regs_->Arch() == ARCH_X86); |
178 | regs_->MachineType() == EM_ARM || regs_->MachineType() == EM_386); | ||
179 | } | 178 | } |
180 | 179 | ||
181 | std::string Unwinder::FormatFrame(const FrameData& frame, bool bits32) { | 180 | std::string Unwinder::FormatFrame(const FrameData& frame, bool bits32) { |