This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] gdbserver: Add linux_get_hwcap
- From: Pedro Franco de Carvalho <pedromfc at linux dot ibm dot com>
- To: Peter Bergner <bergner at linux dot ibm dot com>, Alan Hayward <Alan dot Hayward at arm dot com>
- Cc: "gdb-patches\@sourceware.org" <gdb-patches at sourceware dot org>, nd <nd at arm dot com>
- Date: Thu, 04 Apr 2019 18:22:01 -0300
- Subject: Re: [PATCH 2/2] gdbserver: Add linux_get_hwcap
- References: <20190325120542.92123-1-alan.hayward@arm.com> <20190325120542.92123-2-alan.hayward@arm.com> <4b84367d-bae9-55ef-4878-de585ee3b85d@linux.ibm.com>
Hi Peter,
Peter Bergner <bergner@linux.ibm.com> writes:
> You have removed ppc_get_auxv(), but I'm still seeing uses of it that
> function which are causing build errors (powerpc64le-linux):
>
> /home/bergner/binutils/binutils-gdb/gdb/gdbserver/linux-ppc-low.c: In function ‘int is_elfv2_inferior()’:
> /home/bergner/binutils/binutils-gdb/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))
>
> Peter
I should be able to post a patch to fix this tomorrow (there is some
discussion for this elsewhere in the thread).
--
Pedo Franco de Carvalho