aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-09-04 19:31:33 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2017-09-04 19:31:33 -0700
commit26562e73d8eb20c9b8289911cee557de8e5272c3 (patch)
treea8a9711a42b6ada8190eee0a3065a038d486afcb
parent0097251b8a2fcee7f536807328ea2b73a2f7c41c (diff)
downloadfsf-binutils-gdb-26562e73d8eb20c9b8289911cee557de8e5272c3.zip
fsf-binutils-gdb-26562e73d8eb20c9b8289911cee557de8e5272c3.tar.gz
fsf-binutils-gdb-26562e73d8eb20c9b8289911cee557de8e5272c3.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/amd64-fbsd-nat.c1
-rw-r--r--gdb/i386-fbsd-nat.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cef374a..74b5d8f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2017-09-04 John Baldwin <jhb@FreeBSD.org>
+ * amd64-fbsd-nat.c: Add include of "x86-xstate.h".
+ * i386-fbsd-nat.c: Likewise.
+
+2017-09-04 John Baldwin <jhb@FreeBSD.org>
+
* unittests/array-view-selftests.c: Add include of <array>.
2017-09-04 John Baldwin <jhb@FreeBSD.org>
diff --git a/gdb/amd64-fbsd-nat.c b/gdb/amd64-fbsd-nat.c
index a22b82b..107b4f8 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 ab671ef..3b2ed31 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"