summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-06-25 02:32:56 +0000
committerJim Ingham <jingham@apple.com>2014-06-25 02:32:56 +0000
commit106d02866d4d54b09c08e6a12915dba58e709294 (patch)
treed495af8b9b7f1823c685bc4ff2ce2a9a0289b5b9 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
parentab8d0a0dd514e8313f39e3f09482468577ffe144 (diff)
downloadbcm5719-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/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
index 1166a6f9025..556465d153d 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
@@ -205,13 +205,25 @@ public:
/// be launched with the 'A' packet.
///
/// @param[in] enable
- /// A boolean value indicating wether to disable ASLR or not.
+ /// A boolean value indicating whether to disable ASLR or not.
///
/// @return
/// Zero if the for success, or an error code for failure.
//------------------------------------------------------------------
int
SetDisableASLR (bool enable);
+
+ //------------------------------------------------------------------
+ /// Sets the DetachOnError flag to \a enable for the process controlled by the stub.
+ ///
+ /// @param[in] enable
+ /// A boolean value indicating whether to detach on error or not.
+ ///
+ /// @return
+ /// Zero if the for success, or an error code for failure.
+ //------------------------------------------------------------------
+ int
+ SetDetachOnError (bool enable);
//------------------------------------------------------------------
/// Sets the working directory to \a path for a process that will
OpenPOWER on IntegriCloud