[PATCH] Limit breakpoint re-set to the current program space

Keith Seitz keiths@redhat.com
Mon Jan 18 23:01:00 GMT 2016


On 01/12/2016 04:34 PM, Pedro Alves wrote:
> Currently, we always re-set all locations of all breakpoints.  This
> commit makes us re-set only locations of the current program space.

I'll come right out and say it: Damn! Why didn't I think of that?

You are no doubt aware (but other readers may not be), I've delved into
breakpoint_re_set optimization a bit, and published a branch and wiki
page for the (in-progress) work I've done.
[https://sourceware.org/gdb/wiki/BreakpointReset]

Your approach here is pretty much identical to the approach I took on my
breakpoint-reset project branch. So I cannot find any fault with that. ;-)

Your implementation, on the other hand, is, well, at least as good. :-)

Well done,

Keith



More information about the Gdb-patches mailing list