From: Yao Qi Date: Wed, 25 Feb 2015 10:39:59 +0000 (+0000) Subject: [aarch64] Fix one fail in gdb.xml/tdesc-regs.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21613c12d1822dcb71116ce8f386ff87719e104f;p=binutils-gdb.git [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 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for aarch64*-*-* target. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 87f6c981253..c7b1c151151 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-25 Yao Qi + + * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for + aarch64*-*-* target. + 2015-02-23 Pedro Alves * 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 8f0eb4192a3..8f7f38814e5 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} }