[PATCH, doc RFA] Remove support for "target m32rsdi" and "target mips/pmon/ddb/rockhopper/lsi"
Pedro Alves
palves@redhat.com
Mon May 2 11:59:00 GMT 2016
On 04/02/2016 12:57 AM, Maciej W. Rozycki wrote:
> On Thu, 31 Mar 2016, Pedro Alves wrote:
>
>> I'll push the patch in in a bit.
>
> NB it looks to me `mips_r3041_reg_names' is now dead. We just *might*
> consider rewiring it like `mips_tx39_reg_names', but that would require
> defining another BFD machine type and I doubt anybody cares about the
> R3041 anymore (cf. the relevant comment you've just removed). So if you
> care to remove it too, then I'll appreciate it and a change to do so is
> preapproved.
>
> Given that the variable is static I wonder why it hasn't triggered a
> compilation error in the build actually.
That's because gdb doesn't use -Wunused presently.
I never managed to come back to this, and looks like we won't need to.
Trevor sent a patch that removes mips_r3041_reg_names among a ton
of other unused variables, here:
https://sourceware.org/ml/gdb-patches/2016-04/msg00664.html
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list