This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Breakpoint infrastructure cleanups [0/8]
On Wed, Oct 08, 2003 at 12:38:51PM -0700, David Carlton wrote:
> On 08 Oct 2003 13:05:34 -0500, Jim Blandy <jimb@redhat.com> said:
>
> > This sounds really great.
>
> Amen.
>
> > When you think about what actually is happening in the debuggee, the
> > mapping is actually many-to-many, since you can have multiple user
> > breakpoints at the same address. Not that this affects your data
> > structures --- just an observation.
>
> I do wonder what will happen to the duplicate breakpoint message
> eventually. Or situations where two different user breakpoints both
> contain command lists and both map to the same machine breakpoint.
> (Is that possible? Probably in the case of inlining.) But we
> certainly don't have to worry about those sorts of issues right now.
The duplicate breakpoint message, I don't know, but it shouldn't be too
hard. For command lists, well, that can already happen - try it, set
them both on the same address.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer