summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/DebuggerThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/DebuggerThread.h')
-rw-r--r--lldb/source/Plugins/Process/Windows/DebuggerThread.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/Windows/DebuggerThread.h b/lldb/source/Plugins/Process/Windows/DebuggerThread.h
index 98b554dae2a..9505eeb6c69 100644
--- a/lldb/source/Plugins/Process/Windows/DebuggerThread.h
+++ b/lldb/source/Plugins/Process/Windows/DebuggerThread.h
@@ -32,7 +32,18 @@ class DebuggerThread : public std::enable_shared_from_this<DebuggerThread>
DebuggerThread(DebugDelegateSP debug_delegate);
virtual ~DebuggerThread();
- HostProcess DebugLaunch(const ProcessLaunchInfo &launch_info);
+ Error DebugLaunch(const ProcessLaunchInfo &launch_info);
+
+ HostProcess
+ GetProcess() const
+ {
+ return m_process;
+ }
+ HostThread
+ GetMainThread() const
+ {
+ return m_main_thread;
+ }
private:
void DebugLoop();
@@ -48,9 +59,6 @@ class DebuggerThread : public std::enable_shared_from_this<DebuggerThread>
DebugDelegateSP m_debug_delegate;
- HANDLE m_launched_event; // Signalled when the process is finished launching, either
- // successfully or with an error.
-
HostProcess m_process; // The process being debugged.
HostThread m_main_thread; // The main thread of the inferior.
HANDLE m_image_file; // The image file of the process being debugged.
OpenPOWER on IntegriCloud