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

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.

gdb/testsuite:

2015-02-25  Yao Qi  <yao.qi@linaro.org>

	* gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
	aarch64*-*-* target.
This commit is contained in:
Yao Qi 2015-02-25 10:39:59 +00:00
parent ca7ae53a86
commit 21613c12d1
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-02-25 Yao Qi <yao.qi@linaro.org>
* gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
aarch64*-*-* target.
2015-02-23 Pedro Alves <palves@redhat.com>
* lib/gdb.exp (delete_breakpoints): Rewrite using

View File

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