Remove a compile time warning in RNBRemote::HandlePacket_qProcessInfo
authorJason Molenda <jmolenda@apple.com>
Wed, 23 Jan 2013 04:39:43 +0000 (04:39 +0000)
committerJason Molenda <jmolenda@apple.com>
Wed, 23 Jan 2013 04:39:43 +0000 (04:39 +0000)
for non-x86 builds.

llvm-svn: 173226

lldb/tools/debugserver/source/RNBRemote.cpp

index f107ae8..bc8164f 100644 (file)
@@ -3918,10 +3918,9 @@ RNBRemote::HandlePacket_qProcessInfo (const char *p)
     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,