diff options
| author | Jim Ingham <jingham@apple.com> | 2012-07-20 21:37:13 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2012-07-20 21:37:13 +0000 |
| commit | cd16df9154d46bb4ff49ed8843df714a7376d072 (patch) | |
| tree | ee33109563981740402ee3d93477eca660d07876 /lldb/tools/debugserver/source/DNB.h | |
| parent | 5e4fe00e644177dd5b6c8bd330be6dfe0f25610b (diff) | |
| download | bcm5719-llvm-cd16df9154d46bb4ff49ed8843df714a7376d072.tar.gz bcm5719-llvm-cd16df9154d46bb4ff49ed8843df714a7376d072.zip | |
Add "vAttachOrWait" to debugserver, so you can implement "attach to the process if it exists OR wait for it" without race conditions. Use that in lldb.
llvm-svn: 160578
Diffstat (limited to 'lldb/tools/debugserver/source/DNB.h')
| -rw-r--r-- | lldb/tools/debugserver/source/DNB.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/DNB.h b/lldb/tools/debugserver/source/DNB.h index 68df124b677..d2068260d46 100644 --- a/lldb/tools/debugserver/source/DNB.h +++ b/lldb/tools/debugserver/source/DNB.h @@ -48,7 +48,7 @@ nub_process_t DNBProcessLaunch (const char *path, nub_process_t DNBProcessAttach (nub_process_t pid, struct timespec *timeout, char *err_str, size_t err_len) DNB_EXPORT; nub_process_t DNBProcessAttachByName (const char *name, struct timespec *timeout, char *err_str, size_t err_len) DNB_EXPORT; -nub_process_t DNBProcessAttachWait (const char *wait_name, nub_launch_flavor_t launch_flavor, struct timespec *timeout, useconds_t interval, char *err_str, size_t err_len, DNBShouldCancelCallback should_cancel = NULL, void *callback_data = NULL) DNB_EXPORT; +nub_process_t DNBProcessAttachWait (const char *wait_name, nub_launch_flavor_t launch_flavor, bool ignore_existing, struct timespec *timeout, useconds_t interval, char *err_str, size_t err_len, DNBShouldCancelCallback should_cancel = NULL, void *callback_data = NULL) DNB_EXPORT; // Resume a process with exact instructions on what to do with each thread: // - If no thread actions are supplied (actions is NULL or num_actions is zero), // then all threads are continued. |

