[Lldb-commits] [lldb] r194023 - Fix a bug in the x86_64 architectural default unwindplan

Jason Molenda jmolenda at apple.com
Mon Nov 4 14:57:40 PST 2013


Author: jmolenda
Date: Mon Nov  4 16:57:40 2013
New Revision: 194023

URL: http://llvm.org/viewvc/llvm-project?rev=194023&view=rev
Log:
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.

Modified:
    lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp

Modified: lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp?rev=194023&r1=194022&r2=194023&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp Mon Nov  4 16:57:40 2013
@@ -1114,7 +1114,7 @@ ABISysV_x86_64::CreateDefaultUnwindPlan
     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);
     





More information about the lldb-commits mailing list