From b3788eaf9976ce0323f886fda0bd510cfe8a2dea Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 5 Oct 2015 22:58:37 +0000 Subject: SBTarget::Attach(SBAttachInfo &) was changed to not be asynchronous back in February and this affected Xcode's abililty to cancel an attach to process by name. Added the ability to specify if an attach by name should be synchronous or not in SBAttachInfo and ProcessAttachInfo. llvm-svn: 249361 --- lldb/scripts/interface/SBAttachInfo.i | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lldb/scripts/interface') diff --git a/lldb/scripts/interface/SBAttachInfo.i b/lldb/scripts/interface/SBAttachInfo.i index e2123eeb435..4c8ef643c90 100644 --- a/lldb/scripts/interface/SBAttachInfo.i +++ b/lldb/scripts/interface/SBAttachInfo.i @@ -18,6 +18,8 @@ public: SBAttachInfo (const char *path, bool wait_for); + SBAttachInfo (const char *path, bool wait_for, bool async); + SBAttachInfo (const lldb::SBAttachInfo &rhs); lldb::pid_t @@ -38,6 +40,9 @@ public: void SetWaitForLaunch (bool b); + void + SetWaitForLaunch (bool b, bool async); + bool GetIgnoreExisting (); -- cgit v1.2.3