diff options
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachProcess.cpp')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachProcess.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp b/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp index de11cc8cecc..8176f10a1b4 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp @@ -186,6 +186,12 @@ MachProcess::GetCurrentThread () } nub_thread_t +MachProcess::GetCurrentThreadMachPort () +{ + return m_thread_list.GetMachPortNumberByThreadID(m_thread_list.CurrentThreadID()); +} + +nub_thread_t MachProcess::SetCurrentThread(nub_thread_t tid) { return m_thread_list.SetCurrentThread(tid); |