This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/PATCH] Clean up unused variables (and prepare for `-Wunused-variable' flag)
- From: Tom Tromey <tromey at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 24 Apr 2012 11:42:31 -0600
- Subject: Re: [RFC/PATCH] Clean up unused variables (and prepare for `-Wunused-variable' flag)
- References: <m3ty0at632.fsf@redhat.com>
>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
Sergio> a) How's the ChangeLog for this patch supposed to be? Can I make a
Sergio> "generic" ChangeLog, saying something like `Remove unused variables from
Sergio> files'?
I'm afraid I will leave that question for someone who cares a bit more.
Sorry about that.
Sergio> gdb/features/rs6000/powerpc-32.c | 1 -
All these files are generated by some code in gdb/target-descriptions.c.
gdb/features/Makefile uses 'maint print c-tdesc' to create them.
So, you'll have to fix the generator instead.
Tom