* [PATCH] [aarch64] Fix one fail in gdb.xml/tdesc-regs.exp
@ 2015-02-24 17:40 Yao Qi
0 siblings, 0 replies; only message in thread
From: Yao Qi @ 2015-02-24 17:40 UTC (permalink / raw)
To: gdb-patches; +Cc: Yao Qi
From: Yao Qi <yao.qi@linaro.org>
Hi,
I see the following fail in aarch64-linux-gnu testing...
(gdb) set tdesc file /XXX/gdb/testsuite/gdb.xml/single-reg.xml^M
warning: Architecture rejected target-supplied description^M
(gdb) FAIL: gdb.xml/tdesc-regs.exp: set tdesc file single-reg.xml
core-regs isn't set for aarch64 target, and looks it is an oversight
when aarch64 port was added. I'll commit it tomorrow.
gdb/testsuite:
2015-02-24 Yao Qi <yao.qi@linaro.org>
* gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
aarch64*-*-* target.
Signed-off-by: Yao Qi <yao.qi@linaro.org>
---
gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gdb/testsuite/gdb.xml/tdesc-regs.exp b/gdb/testsuite/gdb.xml/tdesc-regs.exp
index 8f0eb41..8f7f388 100644
--- a/gdb/testsuite/gdb.xml/tdesc-regs.exp
+++ b/gdb/testsuite/gdb.xml/tdesc-regs.exp
@@ -27,6 +27,9 @@ set core-regs ""
set regdir ""
set architecture ""
switch -glob -- [istarget] {
+ "aarch64*-*-*" {
+ set core-regs {aarch64-core.xml}
+ }
"arm*-*-*" {
set core-regs {arm-core.xml}
}
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-24 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-24 17:40 [PATCH] [aarch64] Fix one fail in gdb.xml/tdesc-regs.exp Yao Qi
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).