diff options
author | Jim Ingham <jingham@apple.com> | 2014-06-25 02:32:56 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-06-25 02:32:56 +0000 |
commit | 106d02866d4d54b09c08e6a12915dba58e709294 (patch) | |
tree | d495af8b9b7f1823c685bc4ff2ce2a9a0289b5b9 /lldb/source/API/SBTarget.cpp | |
parent | ab8d0a0dd514e8313f39e3f09482468577ffe144 (diff) | |
download | bcm5719-llvm-106d02866d4d54b09c08e6a12915dba58e709294.tar.gz bcm5719-llvm-106d02866d4d54b09c08e6a12915dba58e709294.zip |
Added an option to turn OFF the "detach on error" behavior that was added
to debugserver when launching processes.
<rdar://problem/16216199>
llvm-svn: 211658
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
-rw-r--r-- | lldb/source/API/SBTarget.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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()) { |