This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ARI] Status of ATTRIBUTE_UNUSED in gdb sources


On Tue, 04 May 2010 17:37:52 +0200, Joel Brobecker wrote:
> make sense unless we use -Wunused-param. And I really don't see how
> this switch could help us increase code quality - only extra hassle
> trying to silence warnings.

While I agree ATTRIBUTE_UNUSED is more hassle than benefit I have to bring up
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


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]