From cd16df9154d46bb4ff49ed8843df714a7376d072 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 20 Jul 2012 21:37:13 +0000 Subject: 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 --- 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 1dc30d1debca..7635a364901f 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -369,6 +369,18 @@ SBAttachInfo::SetWaitForLaunch (bool b) m_opaque_sp->SetWaitForLaunch (b); } +bool +SBAttachInfo::GetIgnoreExisting () +{ + return m_opaque_sp->GetIgnoreExisting(); +} + +void +SBAttachInfo::SetIgnoreExisting (bool b) +{ + m_opaque_sp->SetIgnoreExisting (b); +} + uint32_t SBAttachInfo::GetUserID() { -- cgit v1.2.3