This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH/sim]: Fix aarch64 simulator build
- From: Tristan Gingold <gingold at adacore dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Wed, 9 Dec 2015 12:34:45 +0100
- Subject: [PATCH/sim]: Fix aarch64 simulator build
- Authentication-results: sourceware.org; auth=none
The simulator is including syscall.h which is not standard and apparently not required
(builds correctly without it on my machine).
Ok to push ?
Tristan.
sim aarch64: fix build
sim/
* aarch64/simulator.c: Remove syscall.h include.
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 76d75c9..3e64ef4 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-11-24 Nick Clifton <nickc@redhat.com>
* configure.tgt: Add aarch64 entry.
diff --git a/sim/aarch64/simulator.c b/sim/aarch64/simulator.c
index 31c054c..2a994dd 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>