diff --git a/lldb/source/Symbol/UnwindPlan.cpp b/lldb/source/Symbol/UnwindPlan.cpp index a4651717681e..01cb737b8b2b 100644 --- a/lldb/source/Symbol/UnwindPlan.cpp +++ b/lldb/source/Symbol/UnwindPlan.cpp @@ -106,14 +106,14 @@ UnwindPlan::Row::RegisterLocation::Dump (Stream &s, const UnwindPlan* unwind_pla if (cfa_reg_info) s.Printf (" (%s%+d)", cfa_reg_info->name, offset); else - s.Printf (" (reg(%u)%+d)", cfa_reg_info->name, offset); + s.Printf (" (reg(%u)%+d)", cfa_reg, offset); } else { if (cfa_reg_info) s.Printf ("%s", cfa_reg_info->name); else - s.Printf ("reg(%u)", cfa_reg_info->name); + s.Printf ("reg(%u)", cfa_reg); if (offset != 0) s.Printf ("%+d", offset); }