From a539598f65aa4f4b3582b059fd27d8d0a619bca1 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Sat, 2 Jun 2012 06:25:23 +0000 Subject: [PATCH] Properly initialize the member fields used for hardware watchpoint transaction management. llvm-svn: 157878 --- lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h | 4 +++- .../debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h index 7a282bd85777..85cdcd3dde98 100644 --- a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h +++ b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h @@ -27,7 +27,9 @@ class DNBArchImplI386 : public DNBArchProtocol public: DNBArchImplI386(MachThread *thread) : m_thread(thread), - m_state() + m_state(), + m_2pc_dbg_checkpoint(), + m_2pc_trans_state(Trans_Done) { } virtual ~DNBArchImplI386() diff --git a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h index 148780ee4146..4d1ded90c615 100644 --- a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h +++ b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h @@ -26,7 +26,9 @@ class DNBArchImplX86_64 : public DNBArchProtocol public: DNBArchImplX86_64(MachThread *thread) : m_thread(thread), - m_state() + m_state(), + m_2pc_dbg_checkpoint(), + m_2pc_trans_state(Trans_Done) { } virtual ~DNBArchImplX86_64()