This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PUSHED] Include "x86-xstate.h" for X86_XSTATE_* constants.
- From: John Baldwin <jhb at FreeBSD dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 5 Sep 2017 09:28:37 -0700
- Subject: [PUSHED] Include "x86-xstate.h" for X86_XSTATE_* constants.
- Authentication-results: sourceware.org; auth=none
gdb/ChangeLog:
* amd64-fbsd-nat.c: Add include of "x86-xstate.h".
* i386-fbsd-nat.c: Likewise.
---
gdb/ChangeLog | 5 +++++
gdb/amd64-fbsd-nat.c | 1 +
gdb/i386-fbsd-nat.c | 1 +
3 files changed, 7 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cef374ac64..74b5d8f8da 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 a22b82bb1b..107b4f8fb0 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 ab671efe7a..3b2ed31821 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"
--
2.13.3