From: Ramana Radhakrishnan Date: Thu, 22 May 2014 15:07:20 +0000 (+0100) Subject: Include asm/ptrace.h in aarch64-linux-nat.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=036cd38182bde32d8297b630cd5c861d53b8949e;p=binutils-gdb.git Include asm/ptrace.h in aarch64-linux-nat.c A recent change to glibc removed asm/ptrace.h from user.h for AArch64. This meant that cross-native builds of gdb using trunk glibc broke because aarch64-linux-nat.c because user_hwdebug_state couldn't be found. Fixed by including asm/ptrace.h like other ports. 2014-05-22 Ramana Radhakrishnan * aarch64-linux-nat.c (asm/ptrace.h): Include. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ad4b693de00..2418b45e786 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-05-22 Ramana Radhakrishnan + + * aarch64-linux-nat.c (asm/ptrace.h): Include. + 2014-05-22 Ramana Radhakrishnan * MAINTAINERS (Write After Approval): Move self back from diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c index 28ad38ba9c5..877e702a26c 100644 --- a/gdb/aarch64-linux-nat.c +++ b/gdb/aarch64-linux-nat.c @@ -33,6 +33,7 @@ #include #include +#include #include "gregset.h"