This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Save the length of inserted breakpoints
- From: "David S. Miller" <davem at davemloft dot net>
- To: drow at false dot org
- Cc: mark dot kettenis at xs4all dot nl, gdb-patches at sourceware dot org
- Date: Tue, 11 Apr 2006 15:32:22 -0700 (PDT)
- Subject: Re: Save the length of inserted breakpoints
- References: <20060302221711.GB18830@nevyn.them.org> <200603022301.k22N1qEt008208@elgar.sibelius.xs4all.nl> <20060411214613.GA702@nevyn.them.org>
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.