[Lldb-commits] [lldb] r173226 - /lldb/trunk/tools/debugserver/source/RNBRemote.cpp
Jason Molenda
jmolenda at apple.com
Tue Jan 22 20:39:43 PST 2013
Author: jmolenda
Date: Tue Jan 22 22:39:43 2013
New Revision: 173226
URL: http://llvm.org/viewvc/llvm-project?rev=173226&view=rev
Log:
Remove a compile time warning in RNBRemote::HandlePacket_qProcessInfo
for non-x86 builds.
Modified:
lldb/trunk/tools/debugserver/source/RNBRemote.cpp
Modified: lldb/trunk/tools/debugserver/source/RNBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/RNBRemote.cpp?rev=173226&r1=173225&r2=173226&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Tue Jan 22 22:39:43 2013
@@ -3918,10 +3918,9 @@
rep << "endian:pdp;";
#endif
+#if (defined (__x86_64__) || defined (__i386__)) && defined (x86_THREAD_STATE)
nub_thread_t thread = DNBProcessGetCurrentThread (pid);
kern_return_t kr;
-
-#if (defined (__x86_64__) || defined (__i386__)) && defined (x86_THREAD_STATE)
x86_thread_state_t gp_regs;
mach_msg_type_number_t gp_count = x86_THREAD_STATE_COUNT;
kr = thread_get_state (thread, x86_THREAD_STATE,
More information about the lldb-commits
mailing list