This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Add "common-defs.h" include to files in arch/ subdir not yet including it.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8ec57239e91f22f427f8065eb742e6c8bfa223f1

commit 8ec57239e91f22f427f8065eb742e6c8bfa223f1
Author: John Baldwin <jhb@FreeBSD.org>
Date:   Wed Feb 21 11:03:41 2018 -0800

    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:
---
 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 a137560..1644ac3 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 c49d710..b85e460 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 bd3df8b..d31d8f1 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 d3e1eb9..82e9b11 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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]