[PATCH] Fix compiler warnings building against Linux uapi headers

Yao Qi qiyaoltc@gmail.com
Fri Jun 26 15:42:00 GMT 2015


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 (齐尧)



More information about the Gdb-patches mailing list