diff mbox

[aarch64] Fix one fail in gdb.xml/tdesc-regs.exp

Message ID 1424799391-5530-1-git-send-email-yao.qi@arm.com
State New
Headers show

Commit Message

Yao Qi Feb. 24, 2015, 5:36 p.m. UTC
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 mbox

Patch

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}
     }