diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-02-25 10:39:59 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-02-25 10:39:59 +0000 |
commit | 21613c12d1822dcb71116ce8f386ff87719e104f (patch) | |
tree | be4005449f31e6aa6b1439350466856a59d78f68 /gdb | |
parent | ca7ae53a8669bd0a4c64d90072f42741f4c0ddd7 (diff) | |
download | gdb-21613c12d1822dcb71116ce8f386ff87719e104f.zip gdb-21613c12d1822dcb71116ce8f386ff87719e104f.tar.gz gdb-21613c12d1822dcb71116ce8f386ff87719e104f.tar.bz2 |
[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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 87f6c98..c7b1c15 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 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} } |