From 00ec491fc6994a7f6f6b289fdc29871149b1c361 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 4 Nov 2013 22:57:40 +0000 Subject: [PATCH] Fix a bug in the x86_64 architectural default unwindplan where it was using the wrong register numbering scheme to express where the rbp could be retrieved from. llvm-svn: 194023 --- lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp b/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp index 7d8dc9f66bff..4cf5d2bbdafc 100644 --- a/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp +++ b/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp @@ -1114,7 +1114,7 @@ ABISysV_x86_64::CreateDefaultUnwindPlan (UnwindPlan &unwind_plan) UnwindPlan::RowSP row(new UnwindPlan::Row); const int32_t ptr_size = 8; - row->SetCFARegister (LLDB_REGNUM_GENERIC_FP); + row->SetCFARegister (gcc_dwarf_rbp); row->SetCFAOffset (2 * ptr_size); row->SetOffset (0);