From: John Baldwin Date: Wed, 21 Feb 2018 19:03:41 +0000 (-0800) Subject: Add "common-defs.h" include to files in arch/ subdir not yet including it. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ec57239e91f22f427f8065eb742e6c8bfa223f1;p=binutils-gdb.git Add "common-defs.h" include to files in arch/ subdir not yet including it. 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a137560c1b8..1644ac364f3 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 c49d710312f..b85e460b6b0 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 bd3df8b91d2..d31d8f1f75a 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 d3e1eb90e0f..82e9b118bda 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"