summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/DNB.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-04-03 04:18:47 +0000
committerJason Molenda <jmolenda@apple.com>2013-04-03 04:18:47 +0000
commitd5318c0c35354b22b9b676b9e2bc7076306a3d08 (patch)
treedec05fa440fc8f03ca7c1781c9532c87ebefa2c5 /lldb/tools/debugserver/source/DNB.h
parentb00fc87608d9494f72d7e59054444bd24ba68966 (diff)
downloadbcm5719-llvm-d5318c0c35354b22b9b676b9e2bc7076306a3d08.tar.gz
bcm5719-llvm-d5318c0c35354b22b9b676b9e2bc7076306a3d08.zip
Fix another old usage of GetCurrentThread() to get a mach port
number in RNBRemote::HandlePacket_qProcessInfo -- add a new GetCurrentThreadMachPort() so callers who need to make a mach thred_get_state() call at the RNBRemote level will have a way to get the port number. llvm-svn: 178619
Diffstat (limited to 'lldb/tools/debugserver/source/DNB.h')
-rw-r--r--lldb/tools/debugserver/source/DNB.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/DNB.h b/lldb/tools/debugserver/source/DNB.h
index 83366dbf999..c6acf5bbf7d 100644
--- a/lldb/tools/debugserver/source/DNB.h
+++ b/lldb/tools/debugserver/source/DNB.h
@@ -75,6 +75,7 @@ nub_bool_t DNBProcessGetExitStatus (nub_process_t pid, int
nub_bool_t DNBProcessSetExitStatus (nub_process_t pid, int status) DNB_EXPORT;
nub_size_t DNBProcessGetNumThreads (nub_process_t pid) DNB_EXPORT;
nub_thread_t DNBProcessGetCurrentThread (nub_process_t pid) DNB_EXPORT;
+nub_thread_t DNBProcessGetCurrentThreadMachPort (nub_process_t pid) DNB_EXPORT;
nub_thread_t DNBProcessSetCurrentThread (nub_process_t pid, nub_thread_t tid) DNB_EXPORT;
nub_thread_t DNBProcessGetThreadAtIndex (nub_process_t pid, nub_size_t thread_idx) DNB_EXPORT;
nub_bool_t DNBProcessSyncThreadState (nub_process_t pid, nub_thread_t tid) DNB_EXPORT;
OpenPOWER on IntegriCloud