gdbserver/linux-aarch32-low: build failure when NT_ARM_VFP not defined
authorJoel Brobecker <brobecker@adacore.com>
Tue, 11 Aug 2015 19:28:19 +0000 (15:28 -0400)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 18 Aug 2015 22:41:31 +0000 (18:41 -0400)
commit16d5f64295ccf2a8e9fe3ed350c94c38cee5a481
treec56692220c8cba5825c8f1111323927253114521
parent4d6cceb4e40a057dbe4d9ad94b0641d5f4725c09
gdbserver/linux-aarch32-low: build failure when NT_ARM_VFP not defined

On some older versions of GNU/Linux, gdbserver now fails to build
due to an undefined reference to NT_ARM_VFP. Same issue on Android,
where this macros is undefined until Android API level 21 (Android
5.0 "Lollipop").

This patch modifies linux-aarch32-low.c to define that macros when
not already defined.

gdb/gdbserver/ChangeLog:

        * linux-aarch32-low.c (NT_ARM_VFP): Define if not already defined.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch32-low.c