This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix compiler warnings building against Linux uapi headers
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: enh <enh at google dot com>
- Cc: gdb-patches at sourceware dot org, Doug Evans <dje at google dot com>
- Date: Fri, 26 Jun 2015 16:42:23 +0100
- Subject: Re: [PATCH] Fix compiler warnings building against Linux uapi headers
- Authentication-results: sourceware.org; auth=none
- References: <CAJgzZopOniu-Uh128-y3f61zx04D=U-QtjgYTps7sxvef-Nw8g at mail dot gmail dot com>
enh <enh@google.com> writes:
> to remove gdbserver's duplicate definitions. But on the assumption
> that you do need to support old versions of glibc, here's a patch to
> avoid the redefinition...
We should avoid the redefinition in gdb/arm-linux-tdep.h too. Could you
please fix it there too?
>
> 2015-06-22 Elliott Hughes <enh@google.com>
>
> * linux-arm-low.c: Only define HWCAP_VFP and friends if they're
> not already defined. Fixes build against Linux uapi headers.
OK with the changes.
--
Yao (éå)