[Lldb-commits] [lldb] r106418 - /lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp

Benjamin Kramer benny.kra at googlemail.com
Mon Jun 21 07:39:40 PDT 2010


Author: d0k
Date: Mon Jun 21 09:39:40 2010
New Revision: 106418

URL: http://llvm.org/viewvc/llvm-project?rev=106418&view=rev
Log:
Initialize member so GDBRemoteRegisterContext::ReadRegisterBytes doesn't rely on
an unitialized variable.

valgrind_errors -= 1;

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp?rev=106418&r1=106417&r2=106418&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp Mon Jun 21 09:39:40 2010
@@ -39,6 +39,7 @@
     RegisterContext (thread, frame),
     m_reg_info (reg_info),
     m_reg_valid (),
+    m_reg_valid_stop_id (),
     m_reg_data (),
     m_read_all_at_once (read_all_at_once)
 {





More information about the lldb-commits mailing list