summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBDebugger.i
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-10-14 01:20:07 +0000
committerJim Ingham <jingham@apple.com>2014-10-14 01:20:07 +0000
commitffc9f1de340dcd49f872303c17a93aa69bf92fbc (patch)
tree797486122523a141b85ff3c9c21803f4504e52f0 /lldb/scripts/Python/interface/SBDebugger.i
parent07e9ad3c12998ec2d6a9bb365e9237b7ebfb0343 (diff)
downloadbcm5719-llvm-ffc9f1de340dcd49f872303c17a93aa69bf92fbc.tar.gz
bcm5719-llvm-ffc9f1de340dcd49f872303c17a93aa69bf92fbc.zip
This adds a "batch mode" to lldb kinda like the gdb batch mode. It will quit the debugger
after all the commands have been executed except if one of the commands was an execution control command that stopped because of a signal or exception. Also adds a variant of SBCommandInterpreter::HandleCommand that takes an SBExecutionContext. That way you can run an lldb command targeted at a particular target, thread or process w/o having to select same before running the command. Also exposes CommandInterpreter::HandleCommandsFromFile to the SBCommandInterpreter API, since that seemed generally useful. llvm-svn: 219654
Diffstat (limited to 'lldb/scripts/Python/interface/SBDebugger.i')
-rw-r--r--lldb/scripts/Python/interface/SBDebugger.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBDebugger.i b/lldb/scripts/Python/interface/SBDebugger.i
index fb63fc362dc..48e0d5db638 100644
--- a/lldb/scripts/Python/interface/SBDebugger.i
+++ b/lldb/scripts/Python/interface/SBDebugger.i
@@ -369,7 +369,8 @@ public:
bool spawn_thread,
SBCommandInterpreterRunOptions &options,
int &num_errors,
- bool &quit_requested);
+ bool &quit_requested,
+ bool &stopped_for_crash);
}; // class SBDebugger
} // namespace lldb
OpenPOWER on IntegriCloud