Author: tfiala
Date: Tue Aug 12 00:26:52 2014
New Revision: 215424
URL: http://llvm.org/viewvc/llvm-project?rev=215424&view=rev
Log:
Fix incorrect Linux i386 register info initialization on x86_64.
Fix by Tong Shen.
Modified:
lldb/trunk/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
Modified:
lldb/trunk/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp?rev=215424&r1=215423&r2=215424&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
(original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
Tue Aug 12 00:26:52 2014
@@ -90,7 +90,7 @@ GetPrivateRegisterInfoVector ()
static const RegisterInfo *
GetRegisterInfo_i386(const lldb_private::ArchSpec &arch)
{
- static std::vector<lldb_private::RegisterInfo> g_register_infos
(GetPrivateRegisterInfoVector ());
+ std::vector<lldb_private::RegisterInfo> &g_register_infos =
GetPrivateRegisterInfoVector ();
// Allocate RegisterInfo only once
if (g_register_infos.empty())
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits