From: John Baldwin <jhb@FreeBSD.org>
To: gdb-patches@sourceware.org
Subject: [[PUSHED]] Add "common-defs.h" include to files in arch/ subdir not yet including it.
Date: Wed, 21 Feb 2018 19:09:00 -0000 [thread overview]
Message-ID: <20180221190801.67476-1-jhb@FreeBSD.org> (raw)
This fixes a build breakage on FreeBSD hosts.
gdb/ChangeLog:
* arch/aarch64.c: Include "common-defs.h".
* arch/amd64.c: Likewise.
* arch/i386.c: Likewise.
---
gdb/ChangeLog | 6 ++++++
gdb/arch/aarch64.c | 2 +-
gdb/arch/amd64.c | 1 +
gdb/arch/i386.c | 1 +
4 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a137560c1b..1644ac364f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-21 John Baldwin <jhb@FreeBSD.org>
+
+ * arch/aarch64.c: Include "common-defs.h".
+ * arch/amd64.c: Likewise.
+ * arch/i386.c: Likewise.
+
2018-02-21 Tom Tromey <tom@tromey.com>
* value.h: (extract_field_op): Update.
diff --git a/gdb/arch/aarch64.c b/gdb/arch/aarch64.c
index c49d710312..b85e460b6b 100644
--- a/gdb/arch/aarch64.c
+++ b/gdb/arch/aarch64.c
@@ -15,7 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
+#include "common-defs.h"
#include "aarch64.h"
#include <stdlib.h>
diff --git a/gdb/arch/amd64.c b/gdb/arch/amd64.c
index bd3df8b91d..d31d8f1f75 100644
--- a/gdb/arch/amd64.c
+++ b/gdb/arch/amd64.c
@@ -15,6 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "common-defs.h"
#include "amd64.h"
#include "x86-xstate.h"
#include <stdlib.h>
diff --git a/gdb/arch/i386.c b/gdb/arch/i386.c
index d3e1eb90e0..82e9b118bd 100644
--- a/gdb/arch/i386.c
+++ b/gdb/arch/i386.c
@@ -15,6 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "common-defs.h"
#include "i386.h"
#include "tdesc.h"
#include "x86-xstate.h"
--
2.15.1
reply other threads:[~2018-02-21 19:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180221190801.67476-1-jhb@FreeBSD.org \
--to=jhb@freebsd.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).