This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch, rfa:ppc64, rfa:breakpoint] Add non-verbose breakpoint adjustment
On Oct 27, 6:38pm, Andrew Cagney wrote:
> >> For breakpoint.c, I've also modified the warnings so that the warning:
> >>
> >> warning: Breakpoint 2 address previously adjusted from 0x104e5a60 to
> >> 0x100895d0.
> >>
> >> no longer occures - I figure that the user will have noted it when the
> >> breakpoint was set. It could also be made per-breakpoint?
> >
> >
> > I would prefer that gdb issue warnings both at the time the breakpoint
> > was set and when it gets hit. Or at least until we have more
> > experience with it and find that the second warning unduly annoys
> > users.
>
> As a user, it annoyed me :-)
>
> If you'd prefer I'll let PPC64 print both warnings as well.
ppc and frv are very different. I don't think any warnings should
be printed for ppc, but I think both warnings should be printed for
frv. Over time, we may find that that second warning for frv is too
annoying to stay, but for the moment I think it should stay.
Kevin