This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Fri Jul 15 01:56:06 UTC 2016
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: GDB Administrator <gdbadmin at sourceware dot org>, gdb-patches at sourceware dot org
- Date: Fri, 15 Jul 2016 11:43:55 -0400
- Subject: Re: New ARI warning Fri Jul 15 01:56:06 UTC 2016
- Authentication-results: sourceware.org; auth=none
- References: <20160715015606.GA88638@sourceware.org> <8737nbo7ib.fsf@tromey.com>
> >> gdb/inflow.c:401: regression: ATTRIBUTE_UNUSED: Do not use
> >> ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and,
> >> consequently, is not able to tolerate false warnings. Since
> >> -Wunused-param produces such warnings, neither that warning flag nor
> >> ATTRIBUTE_UNUSED are used by GDB
>
> I think it's time for this warning to go -- I don't recall the situation
> back when, but now there are multiple flags that might produce this
> warning, and I'd like gdb to enable at least two of them.
>
> I don't remember how to update ARI. Is it enough to edit
> contrib/ari/gdb_ari.sh?
I took a quick look, and it looks like not (yet). We have what
appears to be an older copy of that script, which we then use
to generate the ARI data. Switching over to the version from
the snapshot seems easy enough, but I'm going to be unavailable
in the next couple of days if something goes wrong.
What I would recommend, to start, is that Tom makes the modification.
I'll change our nightly scripts to use that version of the scripts,
and we'll see what happens.
We have the same issue with gdb_find.sh as well.
--
Joel