Add "common-defs.h" include to files in arch/ subdir not yet including it.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 21 Feb 2018 19:03:41 +0000 (11:03 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 21 Feb 2018 19:03:41 +0000 (11:03 -0800)
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
gdb/arch/aarch64.c
gdb/arch/amd64.c
gdb/arch/i386.c

index a137560c1b800651c5f2a1643beac12ad71dbdd9..1644ac364f3200ed000a195890003091724e01d4 100644 (file)
@@ -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.
index c49d710312f395b0e733cb8b4e1aa62b24be19c2..b85e460b6b0edd451198c4167c9be6965b09e9d0 100644 (file)
@@ -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>
 
index bd3df8b91d2598c30762051c1625d264ef32d6d7..d31d8f1f75a77946127839a72bdc950d2bcbfefb 100644 (file)
@@ -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>
index d3e1eb90e0f578cd3978620b2f1eda37229f728b..82e9b118bdad4450e3ed659df853af9198506d75 100644 (file)
@@ -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"