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] sim: aarch64: drop syscall.h include to fix build


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

commit ac8eefeb243ad326946c3b2b78ba5d1367fe0f99
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed Dec 9 12:34:45 2015 +0100

    sim: aarch64: drop syscall.h include to fix build
    
    The simulator is including syscall.h which is not standard and apparently
    not required (builds correctly without it on my machine).

Diff:
---
 sim/ChangeLog           | 4 ++++
 sim/aarch64/ChangeLog   | 4 ++++
 sim/aarch64/simulator.c | 1 -
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/sim/ChangeLog b/sim/ChangeLog
index 0e25046..c54219a 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-09  Tristan Gingold  <gingold@adacore.com>
+
+	* aarch64/simulator.c: Remove syscall.h include.
+
 2015-12-26  Mike Frysinger  <vapier@gentoo.org>
 
 	* README-HACKING: Delete mention of tconfig.h.
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog
index 14f4c3c..f9b8673 100644
--- a/sim/aarch64/ChangeLog
+++ b/sim/aarch64/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-04  Tristan Gingold  <gingold@adacore.com>
+
+	* simulator.c: Remove syscall.h include.
+
 2016-01-04  Mike Frysinger  <vapier@gentoo.org>
 
 	* configure: Regenerate.
diff --git a/sim/aarch64/simulator.c b/sim/aarch64/simulator.c
index d465095..84ce8e8 100644
--- a/sim/aarch64/simulator.c
+++ b/sim/aarch64/simulator.c
@@ -24,7 +24,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
-#include <syscall.h>
 #include <math.h>
 #include <time.h>
 #include <limits.h>


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