[Lldb-commits] [lldb] r140037 - /lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp

Johnny Chen johnny.chen at apple.com
Mon Sep 19 11:54:01 PDT 2011


Author: johnny
Date: Mon Sep 19 13:54:01 2011
New Revision: 140037

URL: http://llvm.org/viewvc/llvm-project?rev=140037&view=rev
Log:
The r139982 patch has a bug by using the constant "x86_AVX_STATE64".
Patch by Filipe.

Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp

Modified: lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp?rev=140037&r1=140036&r2=140037&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp Mon Sep 19 13:54:01 2011
@@ -370,7 +370,7 @@
                 mach_msg_type_number_t count = e_regSetWordSizeAVX;
                 m_state.SetError(e_regSetFPU, Read, ::thread_get_state(m_thread->ThreadID(), __x86_64_AVX_STATE, (thread_state_t)&m_state.context.fpu.avx, &count));
                 DNBLogThreadedIf (LOG_THREAD, "::thread_get_state (0x%4.4x, %u, &avx, %u (%u passed in) carp) => 0x%8.8x",
-                                  m_thread->ThreadID(), x86_AVX_STATE64, (uint32_t)count, 
+                                  m_thread->ThreadID(), __x86_64_AVX_STATE, (uint32_t)count, 
                                   e_regSetWordSizeAVX, m_state.GetError(e_regSetFPU, Read));
             }
             else





More information about the lldb-commits mailing list