summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2010-11-04 09:40:56 +0000
committerJason Molenda <jmolenda@apple.com>2010-11-04 09:40:56 +0000
commitfa19c3e7d677ed5130fafcc4dab52ef560237ade (patch)
treefa59a8f6e033063ad81fa39aa69379bac860e607 /lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
parent4b52007c35d28d321e1e1b1d6df09d9df5558788 (diff)
downloadbcm5719-llvm-fa19c3e7d677ed5130fafcc4dab52ef560237ade.tar.gz
bcm5719-llvm-fa19c3e7d677ed5130fafcc4dab52ef560237ade.zip
Built the native unwinder with all the warnings c++-4.2 could muster;
fixed them. Added DISALLOW_COPY_AND_ASSIGN to classes that should not be bitwise copied. Added default initializers for member variables that weren't being initialized in the ctor. Fixed a few shadowed local variable mistakes. llvm-svn: 118240
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
index 5b7ea7203ce..28ef513f49b 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
@@ -34,7 +34,8 @@ RegisterContextLLDB::RegisterContextLLDB (Thread& thread,
RegisterContext (thread), m_thread(thread), m_next_frame(next_frame),
m_sym_ctx(sym_ctx), m_all_registers_available(false), m_registers(),
m_cfa (LLDB_INVALID_ADDRESS), m_start_pc (), m_current_pc (), m_frame_number (frame_number),
- m_full_unwind_plan(NULL), m_fast_unwind_plan(NULL)
+ m_full_unwind_plan(NULL), m_fast_unwind_plan(NULL), m_base_reg_ctx (), m_frame_type (-1),
+ m_current_offset (0), m_sym_ctx_valid (false)
{
m_sym_ctx.Clear();
m_sym_ctx_valid = false;
@@ -498,7 +499,7 @@ RegisterContextLLDB::GetFullUnwindPlanForFrame ()
if (m_frame_type == eSigtrampFrame)
{
m_fast_unwind_plan = NULL;
- UnwindPlan *up = fu->GetUnwindPlanAtCallSite ();
+ up = fu->GetUnwindPlanAtCallSite ();
if (up->PlanValidAtAddress (m_current_pc))
{
return up;
OpenPOWER on IntegriCloud