projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa85ca5
)
Remove a compile time warning in RNBRemote::HandlePacket_qProcessInfo
author
Jason Molenda
<jmolenda@apple.com>
Wed, 23 Jan 2013 04:39:43 +0000
(
04:39
+0000)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/lldb/tools/debugserver/source/RNBRemote.cpp
b/lldb/tools/debugserver/source/RNBRemote.cpp
index
f107ae8
..
bc8164f
100644
(file)
--- a/
lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/
lldb/tools/debugserver/source/RNBRemote.cpp
@@
-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,