This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch 4/4] Nios II testsuite fix
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Sun, 21 Apr 2013 18:19:35 -0600
- Subject: [patch 4/4] Nios II testsuite fix
This piece of the Altera Nios II port makes the tdesc-regs.exp testcase
know about this target. OK to commit?
-Sandra
2013-04-21 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.xml/tdesc-regs.exp: Add case for nios2.
Index: gdb/testsuite/gdb.xml/tdesc-regs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.xml/tdesc-regs.exp,v
retrieving revision 1.20
diff -u -p -r1.20 tdesc-regs.exp
--- gdb/testsuite/gdb.xml/tdesc-regs.exp 1 Jan 2013 06:41:28 -0000 1.20
+++ gdb/testsuite/gdb.xml/tdesc-regs.exp 20 Apr 2013 21:32:50 -0000
@@ -36,6 +36,9 @@ switch -glob -- [istarget] {
"mips*-*-*" {
set core-regs {mips-cpu.xml mips-cp0.xml mips-fpu.xml mips-dsp.xml}
}
+ "nios2-*-*" {
+ set core-regs {nios2-cpu.xml}
+ }
"powerpc*-*-*" {
set regdir "rs6000/"
set core-regs {power-core.xml}