From: Yao Qi <qiyaoltc@gmail.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] Include arch/arm-linux.h in aarch32-linux-nat.c
Date: Wed, 20 Apr 2016 14:06:00 -0000 [thread overview]
Message-ID: <1461161166-715-1-git-send-email-yao.qi@linaro.org> (raw)
In-Reply-To: <1461151574-31818-1-git-send-email-yao.qi@linaro.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
prev parent reply other threads:[~2016-04-20 14:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 11:26 [PATCH] Move ARM_CPSR_GREGNUM to arch/arm-linux.h Yao Qi
2016-04-20 11:44 ` Yao Qi
2016-04-20 14:06 ` Yao Qi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461161166-715-1-git-send-email-yao.qi@linaro.org \
--to=qiyaoltc@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).