This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Centralize DECR_PC_AFTER_BREAK handling from infrun
> Date: Sun, 18 Jan 2004 13:00:52 -0500
> From: Andrew Cagney <cagney@gnu.org>
> >
> > It would be nice if we could announce all breakpoints that break at
> > that point, but this might not be possible or very hard, I dunno.
>
> I'm not that sure that the current code is right though :-(
Me neither. That's why I think we should try to do better if it's
reasonable. But we shouldn't make things worse, at the very least.
> I recall comlaints about the current behavior - it should report all
> possible reasons for breaking and not just the first.
Sure, and the commands bound to all breakpoints should certainly be
run, which we don't currently do. That's a bug.