summaryrefslogtreecommitdiff
path: root/include/lldb/Breakpoint/BreakpointList.h
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2013-12-03 18:51:59 +0000
committerEd Maste <emaste@FreeBSD.org>2013-12-03 18:51:59 +0000
commit86758c718870f701bc69c1ca05495305ed1c5b85 (patch)
treeb2051e4e4856cc58ac7e2d20242b870b4f355ca1 /include/lldb/Breakpoint/BreakpointList.h
parentf21a844f60ae6c74fcf1fddca32461acce3c1ee0 (diff)
downloadsrc-test2-86758c718870f701bc69c1ca05495305ed1c5b85.tar.gz
src-test2-86758c718870f701bc69c1ca05495305ed1c5b85.zip
Notes
Diffstat (limited to 'include/lldb/Breakpoint/BreakpointList.h')
-rw-r--r--include/lldb/Breakpoint/BreakpointList.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/lldb/Breakpoint/BreakpointList.h b/include/lldb/Breakpoint/BreakpointList.h
index c6708db118df..27f80d0ffe09 100644
--- a/include/lldb/Breakpoint/BreakpointList.h
+++ b/include/lldb/Breakpoint/BreakpointList.h
@@ -132,6 +132,25 @@ public:
bool
Remove (lldb::break_id_t breakID, bool notify);
+
+ //------------------------------------------------------------------
+ /// Removes all invalid breakpoint locations.
+ ///
+ /// Removes all breakpoint locations in the list with architectures
+ /// that aren't compatible with \a arch. Also remove any breakpoint
+ /// locations with whose locations have address where the section
+ /// has been deleted (module and object files no longer exist).
+ ///
+ /// This is typically used after the process calls exec, or anytime
+ /// the architecture of the target changes.
+ ///
+ /// @param[in] arch
+ /// If valid, check the module in each breakpoint to make sure
+ /// they are compatible, otherwise, ignore architecture.
+ //------------------------------------------------------------------
+ void
+ RemoveInvalidLocations (const ArchSpec &arch);
+
void
SetEnabledAll (bool enabled);