diff options
author | Jim Ingham <jingham@apple.com> | 2012-04-25 17:45:26 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-04-25 17:45:26 +0000 |
commit | 5d2735e502d9123a1213ae64f9c559bc016838e3 (patch) | |
tree | fb1098a577aaad4f0c456a470e644238a6c17474 /lldb/tools/debugserver/source/MacOSX/MachProcess.h | |
parent | 7ce39cdb9fdcc0c293c0143b803c3767ee6699ec (diff) | |
download | bcm5719-llvm-5d2735e502d9123a1213ae64f9c559bc016838e3.tar.gz bcm5719-llvm-5d2735e502d9123a1213ae64f9c559bc016838e3.zip |
Suspend program threads before sending the SIGSTOP & resuming, so other threads won't get into trouble while we are waiting for the SIGSTOP.
rdar://problem/11174834
llvm-svn: 155560
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachProcess.h')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachProcess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.h b/lldb/tools/debugserver/source/MacOSX/MachProcess.h index af9fb698bfb..6d99edc4772 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.h +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.h @@ -248,7 +248,7 @@ private: nub_size_t RemoveTrapsFromBuffer (nub_addr_t addr, nub_size_t size, uint8_t *buf) const; uint32_t Flags () const { return m_flags; } - nub_state_t DoSIGSTOP (bool clear_bps_and_wps, uint32_t *thread_idx_ptr = NULL); + nub_state_t DoSIGSTOP (bool clear_bps_and_wps, bool allow_running, uint32_t *thread_idx_ptr); pid_t m_pid; // Process ID of child process cpu_type_t m_cpu_type; // The CPU type of this process |