mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-6572: Forget breakoints using index rather than (possibly closed) trace.
This commit is contained in:
@@ -486,12 +486,7 @@ public class DebuggerLogicalBreakpointServicePlugin extends Plugin
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void forgetAllBreakpoints(RemoveCollector r) {
|
protected void forgetAllBreakpoints(RemoveCollector r) {
|
||||||
Collection<TraceBreakpointLocation> toForget = new ArrayList<>();
|
for (TraceBreakpointLocation tb : List.copyOf(logicalByBreakpoint.keySet())) {
|
||||||
for (AddressRange range : trace.getBaseAddressFactory().getAddressSet()) {
|
|
||||||
toForget.addAll(
|
|
||||||
trace.getBreakpointManager().getBreakpointsIntersecting(Lifespan.ALL, range));
|
|
||||||
}
|
|
||||||
for (TraceBreakpointLocation tb : toForget) {
|
|
||||||
forgetTraceBreakpoint(r, tb);
|
forgetTraceBreakpoint(r, tb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user