summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-05-02 00:27:30 +0000
committerJim Ingham <jingham@apple.com>2013-05-02 00:27:30 +0000
commitacff8950158125374cde999738dac3b6b8348ff4 (patch)
tree8fa60ab21baab12386726b23df12677181aa22f1 /lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
parentae4a5567e118a7819f990dad475e3297654bb9f3 (diff)
downloadbcm5719-llvm-acff8950158125374cde999738dac3b6b8348ff4.tar.gz
bcm5719-llvm-acff8950158125374cde999738dac3b6b8348ff4.zip
Recommitting r180831 with trivial fix - remember to return errors if you compute.
llvm-svn: 180898
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp')
-rw-r--r--lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
index 137fa46eddc..35c365f75c0 100644
--- a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
+++ b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
@@ -283,9 +283,16 @@ ProcessPOSIX::DoHalt(bool &caused_stop)
}
Error
-ProcessPOSIX::DoDetach()
+ProcessPOSIX::DoDetach(bool keep_stopped)
{
Error error;
+ if (keep_stopped)
+ {
+ // FIXME: If you want to implement keep_stopped on Linux,
+ // this would be the place to do it.
+ error.SetErrorString("Detaching with keep_stopped true is not currently supported on Linux.");
+ return error;
+ }
error = m_monitor->Detach();
if (error.Success())
OpenPOWER on IntegriCloud