This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] [aarch64] Fix one fail in gdb.xml/tdesc-regs.exp
- From: Yao Qi <yao dot qi at arm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Yao Qi <yao dot qi at linaro dot org>
- Date: Tue, 24 Feb 2015 17:36:31 +0000
- Subject: [PATCH] [aarch64] Fix one fail in gdb.xml/tdesc-regs.exp
- Authentication-results: sourceware.org; auth=none
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