This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] cleanup: Wunused - trivial
- From: Tom Tromey <tromey at redhat dot com>
- To: Aleksandar Ristovski <aristovski at qnx dot com>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 31 Jan 2013 11:14:39 -0700
- Subject: Re: [patch] cleanup: Wunused - trivial
- References: <5109E44A.5030804@qnx.com>
>>>>> "Aleksandar" == Aleksandar Ristovski <aristovski@qnx.com> writes:
Aleksandar> This is removing unused variables and allows compiling with
Aleksandar> -Wunused.
Aleksandar> (This patch groups trivial changes).
This is ok with the usual ChangeLog update.
Aleksandar> @@ -1206,8 +1205,6 @@ mi_cmd_data_write_register_values (char
Aleksandar> error (_("-data-write-register-values: Usage: -data-write-register-"
Aleksandar> "values <format> [<regnum1> <value1>...<regnumN> <valueN>]"));
Aleksandar> - format = (int) argv[0][0];
Aleksandar> -
I see that this MI command is undocumented and also that the comment and
usage is wrong -- it doesn't make sense for this to accept a format
argument, and that must just be cut-and-paste. I filed a bug about
this.
Tom