diff options
author | Zachary Turner <zturner@google.com> | 2015-05-20 18:31:17 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-05-20 18:31:17 +0000 |
commit | c62733b0debd510b7926baf2090bd9e2ff9f3dad (patch) | |
tree | d881f88f780cdc8448bc137e99b9f3056aa41e0a /lldb/source/Plugins/Process/Windows/DebuggerThread.h | |
parent | fd28abcf15b433a4e36cee68a2f4bf7db6ce52a9 (diff) | |
download | bcm5719-llvm-c62733b0debd510b7926baf2090bd9e2ff9f3dad.tar.gz bcm5719-llvm-c62733b0debd510b7926baf2090bd9e2ff9f3dad.zip |
Implement attach to process on Windows.
Differential Revision: http://reviews.llvm.org/D9801
Reviewed by: Adrian McCarthy
llvm-svn: 237817
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/DebuggerThread.h')
-rw-r--r-- | lldb/source/Plugins/Process/Windows/DebuggerThread.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Windows/DebuggerThread.h b/lldb/source/Plugins/Process/Windows/DebuggerThread.h index a11aede2020..0bfb6486208 100644 --- a/lldb/source/Plugins/Process/Windows/DebuggerThread.h +++ b/lldb/source/Plugins/Process/Windows/DebuggerThread.h @@ -34,6 +34,7 @@ class DebuggerThread : public std::enable_shared_from_this<DebuggerThread> virtual ~DebuggerThread(); Error DebugLaunch(const ProcessLaunchInfo &launch_info); + Error DebugAttach(lldb::pid_t pid, const ProcessAttachInfo &attach_info); HostProcess GetProcess() const @@ -80,8 +81,10 @@ class DebuggerThread : public std::enable_shared_from_this<DebuggerThread> // is finished processing and the debug loop can be // continued. - static lldb::thread_result_t DebuggerThreadRoutine(void *data); - lldb::thread_result_t DebuggerThreadRoutine(const ProcessLaunchInfo &launch_info); + static lldb::thread_result_t DebuggerThreadLaunchRoutine(void *data); + lldb::thread_result_t DebuggerThreadLaunchRoutine(const ProcessLaunchInfo &launch_info); + static lldb::thread_result_t DebuggerThreadAttachRoutine(void *data); + lldb::thread_result_t DebuggerThreadAttachRoutine(lldb::pid_t pid, const ProcessAttachInfo &launch_info); }; } |