[ARI] Status of ATTRIBUTE_UNUSED in gdb sources
Jan Kratochvil
jan.kratochvil@redhat.com
Tue May 4 21:15:00 GMT 2010
On Tue, 04 May 2010 22:58:58 +0200, Pierre Muller wrote:
> > -----Message d'origine-----
> > De : gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la
> > part de Jan Kratochvil
> > recently -Wunused-param would catch a real bug in an Archer patch
> > (missing "bp->thread = tp->num;"):
> > http://sourceware.org/ml/archer/2010-q2/msg00017.html
>
> Did you really use -Wunused-param to catch this,
> or is it just a case where it could have been useful
> to have this warning?
I haven't tried to use -Wunused-param; it was spotted just by eyes.
Regards,
Jan
More information about the Gdb
mailing list