diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-05-01 19:11:56 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-05-01 19:11:56 +0000 |
commit | 54e39db805c2bea78b600dd56fc08c0250928cca (patch) | |
tree | 3c87a8567a640a351b1fcbfe9c31d619694d6e36 /lldb/source/API/SBProcess.cpp | |
parent | df6bee8081f6debda857a04247a88c37586df73d (diff) | |
download | bcm5719-llvm-54e39db805c2bea78b600dd56fc08c0250928cca.tar.gz bcm5719-llvm-54e39db805c2bea78b600dd56fc08c0250928cca.zip |
Reverting 180831 as it crashes TestDefaultConstructorForAPIObjects.py
llvm-svn: 180868
Diffstat (limited to 'lldb/source/API/SBProcess.cpp')
-rw-r--r-- | lldb/source/API/SBProcess.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp index f04fed22843..ba45ce567d1 100644 --- a/lldb/source/API/SBProcess.cpp +++ b/lldb/source/API/SBProcess.cpp @@ -786,20 +786,12 @@ SBProcess::Kill () SBError SBProcess::Detach () { - // FIXME: This should come from a process default. - bool keep_stopped = false; - Detach (keep_stopped); -} - -SBError -SBProcess::Detach (bool keep_stopped) -{ SBError sb_error; ProcessSP process_sp(GetSP()); if (process_sp) { Mutex::Locker api_locker (process_sp->GetTarget().GetAPIMutex()); - sb_error.SetError (process_sp->Detach(keep_stopped)); + sb_error.SetError (process_sp->Detach()); } else sb_error.SetErrorString ("SBProcess is invalid"); |