summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBExpressionOptions.i4
-rw-r--r--lldb/scripts/Python/interface/SBProcess.i6
2 files changed, 8 insertions, 2 deletions
diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i
index 87e3ffe2fef..1f11862b362 100644
--- a/lldb/scripts/Python/interface/SBExpressionOptions.i
+++ b/lldb/scripts/Python/interface/SBExpressionOptions.i
@@ -39,7 +39,7 @@ public:
%feature("docstring", "Sets whether to unwind the expression stack on error.") SetUnwindOnError;
void
- SetUnwindOnError (bool unwind = false);
+ SetUnwindOnError (bool unwind = true);
bool
GetIgnoreBreakpoints () const;
@@ -47,7 +47,7 @@ public:
%feature("docstring", "Sets whether to ignore breakpoint hits while running expressions.") SetUnwindOnError;
void
- SetIgnoreBreakpoints (bool ignore = false);
+ SetIgnoreBreakpoints (bool ignore = true);
lldb::DynamicValueType
GetFetchDynamicValue () const;
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i
index 9303e9ff10f..6f22d9ad1dc 100644
--- a/lldb/scripts/Python/interface/SBProcess.i
+++ b/lldb/scripts/Python/interface/SBProcess.i
@@ -328,6 +328,12 @@ public:
static bool
GetRestartedFromEvent (const lldb::SBEvent &event);
+ static size_t
+ GetNumRestartedReasonsFromEvent (const lldb::SBEvent &event);
+
+ static const char *
+ GetRestartedReasonAtIndexFromEvent (const lldb::SBEvent &event, size_t idx);
+
static lldb::SBProcess
GetProcessFromEvent (const lldb::SBEvent &event);
OpenPOWER on IntegriCloud