summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-02-09 01:29:05 +0000
committerJim Ingham <jingham@apple.com>2013-02-09 01:29:05 +0000
commit0161b49cbadd54431b4acefa8dae954ebef12ec8 (patch)
tree2f6c58512e07b7d65af0a6de0a0fd9df6e1d6013 /lldb/scripts/Python/interface
parent1aa79e9f637d9f5fb514095e8b29108bd15c261f (diff)
downloadbcm5719-llvm-0161b49cbadd54431b4acefa8dae954ebef12ec8.tar.gz
bcm5719-llvm-0161b49cbadd54431b4acefa8dae954ebef12ec8.zip
Reworked the way Process::RunThreadPlan and the ThreadPlanCallFunction interoperate to fix problems where
hitting auto-continue signals while running a thread plan would cause us to lose control of the debug session. <rdar://problem/12993641> llvm-svn: 174793
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