[PATCH] Fix gdb build on hppa-linux
Simon Marchi
simon.marchi@polymtl.ca
Tue Jun 12 01:21:00 GMT 2018
On 2018-06-09 10:59, John David Anglin wrote:
> The attached patch fixes the following compile error on hppa-linux:
>
> Â CXXÂ Â Â hppa-linux-nat.o
> ../../src/gdb/hppa-linux-nat.c:277:17: error: no 'void
> hppa_linux_nat_target::fetch_inferior_registers(regcache*, int)'
> member function declared in class 'hppa_linux_nat_target'
> Â Â Â Â Â Â Â int regno)
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ^
> ../../src/gdb/hppa-linux-nat.c:224:1: error: 'void
> fetch_register(regcache*, int)' defined but not used
> [-Werror=unused-function]
> Â fetch_register (struct regcache *regcache, int regno)
> Â ^~~~~~~~~~~~~~
>
> Please install if okay.
>
> Thanks,
> Dave Anglin
Thanks, I pushed it.
Simon
More information about the Gdb-patches
mailing list