aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/linux-aarch32-low.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 7f52fb8..2764d28 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-18 Joel Brobecker <brobecker@adacore.com>
+
+ * linux-aarch32-low.c (NT_ARM_VFP): Define if not already defined.
+
2015-08-14 Matthew Fortune <matthew.fortune@imgtec.com>
* linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP_REL.
diff --git a/gdb/gdbserver/linux-aarch32-low.c b/gdb/gdbserver/linux-aarch32-low.c
index 7f3b985..5876b13 100644
--- a/gdb/gdbserver/linux-aarch32-low.c
+++ b/gdb/gdbserver/linux-aarch32-low.c
@@ -27,6 +27,12 @@
#include <elf.h>
#endif
+/* Some older versions of GNU/Linux and Android do not define
+ the following macros. */
+#ifndef NT_ARM_VFP
+#define NT_ARM_VFP 0x400
+#endif
+
/* Collect GP registers from REGCACHE to buffer BUF. */
void