diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 8716ab5b43..97bc3268fe 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2019-03-28 Alan Hayward + + * linux-low.c (AT_HWCAP2): Add define if not already included. + 2019-03-26 Alan Hayward * linux-aarch64-low.c (aarch64_get_hwcap): Remove function. diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 7158a6798c..265043f97e 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -75,6 +75,10 @@ #define O_LARGEFILE 0 #endif +#ifndef AT_HWCAP2 +#define AT_HWCAP2 26 +#endif + /* Some targets did not define these ptrace constants from the start, so gdbserver defines them locally here. In the future, these may be removed after they are added to asm/ptrace.h. */