Save the length of inserted breakpoints

David S. Miller davem@davemloft.net
Tue Apr 11 22:32:00 GMT 2006


From: Daniel Jacobowitz <drow@false.org>
Date: Tue, 11 Apr 2006 17:46:13 -0400

> All true.  Do you like this version better?  I think it's much
> more elegant.  target_insert_breakpoint et al. now take the
> struct bp_location, instead of just the shadow contents cache.
> They can fill in whatever they choose.
> 
> I added some helper functions for the other common breakpoint
> activities while I was there.  This should consolidate all the actual
> inserting and removing of breakpoints within breakpoint.c, and
> allow future cleanups.

I've regression tested this on sparc-*-linux-gnu, no new
failures.



More information about the Gdb-patches mailing list