From: John Baldwin Date: Tue, 5 Sep 2017 02:31:33 +0000 (-0700) Subject: Include "x86-xstate.h" for X86_XSTATE_* constants. X-Git-Tag: users/ARM/embedded-binutils-master-2017q4~1179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26562e73d8eb20c9b8289911cee557de8e5272c3;p=thirdparty%2Fbinutils-gdb.git Include "x86-xstate.h" for X86_XSTATE_* constants. gdb/ChangeLog: * amd64-fbsd-nat.c: Add include of "x86-xstate.h". * i386-fbsd-nat.c: Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cef374ac644..74b5d8f8da1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-09-04 John Baldwin + + * amd64-fbsd-nat.c: Add include of "x86-xstate.h". + * i386-fbsd-nat.c: Likewise. + 2017-09-04 John Baldwin * unittests/array-view-selftests.c: Add include of . diff --git a/gdb/amd64-fbsd-nat.c b/gdb/amd64-fbsd-nat.c index a22b82bb1b5..107b4f8fb0f 100644 --- a/gdb/amd64-fbsd-nat.c +++ b/gdb/amd64-fbsd-nat.c @@ -34,6 +34,7 @@ #include "amd64-nat.h" #include "x86-bsd-nat.h" #include "x86-nat.h" +#include "x86-xstate.h" /* Offset in `struct reg' where MEMBER is stored. */ diff --git a/gdb/i386-fbsd-nat.c b/gdb/i386-fbsd-nat.c index ab671efe7a9..3b2ed318215 100644 --- a/gdb/i386-fbsd-nat.c +++ b/gdb/i386-fbsd-nat.c @@ -30,6 +30,7 @@ #include "fbsd-nat.h" #include "i386-tdep.h" #include "x86-nat.h" +#include "x86-xstate.h" #include "x86-bsd-nat.h" #include "i386-bsd-nat.h"