diff options
| author | Jim Ingham <jingham@apple.com> | 2017-08-03 18:13:24 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2017-08-03 18:13:24 +0000 |
| commit | f08f5c99262ff9eaa08956334accbb2614b0f7a2 (patch) | |
| tree | 7627308ccb3fc7ce52a6ea0ea45c0d948fcd66af /lldb/scripts/interface/SBBreakpoint.i | |
| parent | f0cadcd9f385d36dc751cdb32476b32ec43306b5 (diff) | |
| download | bcm5719-llvm-f08f5c99262ff9eaa08956334accbb2614b0f7a2.tar.gz bcm5719-llvm-f08f5c99262ff9eaa08956334accbb2614b0f7a2.zip | |
Add an auto-continue flag to breakpoints & locations.
You can get a breakpoint to auto-continue by adding "continue"
as a command, but that has the disadvantage that if you hit two
breakpoints simultaneously, the continue will force the process
to continue, and maybe even forstalling the commands on the other.
The auto-continue flag means the breakpoints can negotiate about
whether to stop.
Writing tests, I wanted to supply some commands when I made the
breakpoints, so I also added that ability.
llvm-svn: 309969
Diffstat (limited to 'lldb/scripts/interface/SBBreakpoint.i')
| -rw-r--r-- | lldb/scripts/interface/SBBreakpoint.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBBreakpoint.i b/lldb/scripts/interface/SBBreakpoint.i index e3b1eea0630..76ddd7259e9 100644 --- a/lldb/scripts/interface/SBBreakpoint.i +++ b/lldb/scripts/interface/SBBreakpoint.i @@ -153,6 +153,10 @@ public: const char * GetCondition (); + void SetAutoContinue(bool auto_continue); + + bool GetAutoContinue(); + void SetThreadID (lldb::tid_t sb_thread_id); |

