[PATCH 2/2] gdbserver: Add linux_get_hwcap

Ulrich Weigand uweigand@de.ibm.com
Fri Mar 29 23:12:00 GMT 2019


Alan Hayward wrote:

> I’ll send out a new OBV patch with the AT_HWCAP2 added in the same way.

Thanks for fixing this issue.  Now the build gets one file further and
then fails again :-)

gdb/gdbserver/linux-ppc-low.c: In function 'int is_elfv2_inferior()':
gdb/gdbserver/linux-ppc-low.c:1113:8: error: 'ppc_get_auxv' was not declared in this scope
   if (!ppc_get_auxv (AT_PHDR, &phdr))

This is because of:

            * linux-ppc-low.c (ppc_get_auxv): Remove function.

You removed two callers of this function, but one more remains ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list