From patchwork Wed Feb 21 19:08:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Baldwin X-Patchwork-Id: 25987 Received: (qmail 105749 invoked by alias); 21 Feb 2018 19:09:08 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 105739 invoked by uid 89); 21 Feb 2018 19:09:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=HX-Greylist:EST, HX-Greylist:0500, Hx-languages-length:1880 X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Feb 2018 19:09:06 +0000 Received: from ralph.baldwin.cx.com (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id A75C110AF2A for ; Wed, 21 Feb 2018 14:09:04 -0500 (EST) From: John Baldwin 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 11:08:01 -0800 Message-Id: <20180221190801.67476-1-jhb@FreeBSD.org> X-IsSubscribed: yes 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 + + * arch/aarch64.c: Include "common-defs.h". + * arch/amd64.c: Likewise. + * arch/i386.c: Likewise. + 2018-02-21 Tom Tromey * 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 . */ - +#include "common-defs.h" #include "aarch64.h" #include 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 . */ +#include "common-defs.h" #include "amd64.h" #include "x86-xstate.h" #include 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 . */ +#include "common-defs.h" #include "i386.h" #include "tdesc.h" #include "x86-xstate.h"