From 106d02866d4d54b09c08e6a12915dba58e709294 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 25 Jun 2014 02:32:56 +0000 Subject: Added an option to turn OFF the "detach on error" behavior that was added to debugserver when launching processes. llvm-svn: 211658 --- lldb/source/API/SBTarget.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lldb/source/API/SBTarget.cpp') diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp index 900ccaf297f..5826ee676d2 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -292,6 +292,18 @@ SBLaunchInfo::GetLaunchEventData () const return m_opaque_sp->GetLaunchEventData (); } +void +SBLaunchInfo::SetDetachOnError (bool enable) +{ + m_opaque_sp->SetDetachOnError (enable); +} + +bool +SBLaunchInfo::GetDetachOnError () const +{ + return m_opaque_sp->GetDetachOnError (); +} + SBAttachInfo::SBAttachInfo () : m_opaque_sp (new ProcessAttachInfo()) { -- cgit v1.2.3