aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/bindings/interface/SBPlatform.i
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lldb/bindings/interface/SBPlatform.i')
-rw-r--r--contrib/llvm-project/lldb/bindings/interface/SBPlatform.i15
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/llvm-project/lldb/bindings/interface/SBPlatform.i b/contrib/llvm-project/lldb/bindings/interface/SBPlatform.i
index 81945222c059..65615be7a361 100644
--- a/contrib/llvm-project/lldb/bindings/interface/SBPlatform.i
+++ b/contrib/llvm-project/lldb/bindings/interface/SBPlatform.i
@@ -9,6 +9,9 @@
namespace lldb {
+%feature("docstring",
+"Describes how :py:class:`SBPlatform.ConnectRemote` connects to a remote platform."
+) SBPlatformConnectOptions;
class SBPlatformConnectOptions
{
public:
@@ -42,9 +45,13 @@ public:
SetLocalCacheDirectory(const char *path);
};
+%feature("docstring",
+"Represents a shell command that can be run by :py:class:`SBPlatform.Run`."
+) SBPlatformShellCommand;
class SBPlatformShellCommand
{
public:
+ SBPlatformShellCommand (const char *shell, const char *shell_command);
SBPlatformShellCommand (const char *shell_command);
SBPlatformShellCommand (const SBPlatformShellCommand &rhs);
@@ -55,6 +62,12 @@ public:
Clear();
const char *
+ GetShell();
+
+ void
+ SetShell(const char *shell_interpreter);
+
+ const char *
GetCommand();
void
@@ -97,7 +110,7 @@ current processes on the remote host, attach to one of those processes,
install programs on the remote system, attach and launch processes,
and much more.
-Every SBTarget has a corresponding SBPlatform. The platform can be
+Every :py:class:`SBTarget` has a corresponding SBPlatform. The platform can be
specified upon target creation, or the currently selected platform
will attempt to be used when creating the target automatically as long
as the currently selected platform matches the target architecture