diff options
| author | Jim Ingham <jingham@apple.com> | 2012-07-25 21:12:43 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2012-07-25 21:12:43 +0000 |
| commit | 279ceecf65d26b3b07454aaf6ced4ebc402e03ec (patch) | |
| tree | ac6e22e7314e2f8862efa8984cb50aae5e4bee5a /lldb/tools/debugserver/source/DNB.h | |
| parent | e8c6b151370feab4972dba0af4bce9b0e77cc190 (diff) | |
| download | bcm5719-llvm-279ceecf65d26b3b07454aaf6ced4ebc402e03ec.tar.gz bcm5719-llvm-279ceecf65d26b3b07454aaf6ced4ebc402e03ec.zip | |
Add a call to "sync" a thread state before checkpointing registers in preparation for
calling functions. This is necessary on Mac OS X, since bad things can happen if you set
the registers of a thread that's sitting in a kernel trap.
<rdar://problem/11145013>
llvm-svn: 160756
Diffstat (limited to 'lldb/tools/debugserver/source/DNB.h')
| -rw-r--r-- | lldb/tools/debugserver/source/DNB.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/DNB.h b/lldb/tools/debugserver/source/DNB.h index d2068260d46..d3943977b37 100644 --- a/lldb/tools/debugserver/source/DNB.h +++ b/lldb/tools/debugserver/source/DNB.h @@ -79,6 +79,7 @@ nub_size_t DNBProcessGetNumThreads (nub_process_t pid) DNB_ nub_thread_t DNBProcessGetCurrentThread (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; nub_addr_t DNBProcessGetSharedLibraryInfoAddress (nub_process_t pid) DNB_EXPORT; nub_bool_t DNBProcessSharedLibrariesUpdated (nub_process_t pid) DNB_EXPORT; nub_size_t DNBProcessGetSharedLibraryInfo (nub_process_t pid, nub_bool_t only_changed, DNBExecutableImageInfo **image_infos) DNB_EXPORT; |

