Re: MI: reporting of multiple breakpoints

Eli Zaretskii
2006-02-17T20:28:09Z

> Date: Fri, 17 Feb 2006 15:24:19 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
>
> > No, I think we were stopped by both of them. They both watch the same
> > address, so they both fired when the location gets written.
>
> If they were set using the same watchpoint register, they "both"
> triggered trivially. If they were set using different hardware
> watchpoint resources, then the target almost certainly reported only
> one of them.

But, as you well know, GDB will think that both were reported, due to
the way we currently find out which watchpoint triggered.

> > But what about the commands associated with that breakpoint? We've
> > reached the address and stopped, allright, but we didn't run the
> > commands the user wanted us to, did we?
>
> We should run them when we stop. That's what I'm trying to say :-)

Do we run them now? If not, I think we agree that we should fix that.