This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Include arch/arm-linux.h in aarch32-linux-nat.c
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 20 Apr 2016 15:06:06 +0100
- Subject: [PATCH] Include arch/arm-linux.h in aarch32-linux-nat.c
- Authentication-results: sourceware.org; auth=none
- References: <1461151574-31818-1-git-send-email-yao dot qi at linaro dot org>
Fix the compilation failure by including arch/arm-linux.h in
aarch32-linux-nat.c.
gdb:
2016-04-20 Yao Qi <yao.qi@linaro.org>
* aarch32-linux-nat.c: Include "arch/arm-linux.h".
---
gdb/ChangeLog | 4 ++++
gdb/aarch32-linux-nat.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 10d5d2c..b2660dd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2016-04-20 Yao Qi <yao.qi@linaro.org>
+ * aarch32-linux-nat.c: Include "arch/arm-linux.h".
+
+2016-04-20 Yao Qi <yao.qi@linaro.org>
+
* arm-linux-tdep.h (ARM_CPSR_GREGNUM): Move it to ...
* arch/arm-linux.h: ... here.
diff --git a/gdb/aarch32-linux-nat.c b/gdb/aarch32-linux-nat.c
index 5d9babf..568dfa6 100644
--- a/gdb/aarch32-linux-nat.c
+++ b/gdb/aarch32-linux-nat.c
@@ -20,6 +20,7 @@
#include "regcache.h"
#include "arm-tdep.h"
#include "arm-linux-tdep.h"
+#include "arch/arm-linux.h"
#include "aarch32-linux-nat.h"
--
1.9.1