diff mbox

[v7,3/4] gdb: testsuite: Add or1k tdesc-regs.exp test support

Message ID eed0c2bbc0d636bf89909caa885f74a40fb073c0.1496068645.git.shorne@gmail.com
State New
Headers show

Commit Message

Stafford Horne May 29, 2017, 2:48 p.m. UTC
gdb/testsuite/ChangeLog:

2017-04-20  Stafford Horne  <shorne@gmail.com>

	* gdb.xml/tdesc-regs.exp: Add or1k support.
---
 gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 +++
 1 file changed, 3 insertions(+)

Comments

Yao Qi June 9, 2017, 10:11 a.m. UTC | #1
Stafford Horne <shorne@gmail.com> writes:

> gdb/testsuite/ChangeLog:
>
> 2017-04-20  Stafford Horne  <shorne@gmail.com>
>
> 	* gdb.xml/tdesc-regs.exp: Add or1k support.

Patch is good to me.
diff mbox

Patch

diff --git a/gdb/testsuite/gdb.xml/tdesc-regs.exp b/gdb/testsuite/gdb.xml/tdesc-regs.exp
index 70fc0e0..d62ed98 100644
--- a/gdb/testsuite/gdb.xml/tdesc-regs.exp
+++ b/gdb/testsuite/gdb.xml/tdesc-regs.exp
@@ -50,6 +50,9 @@  switch -glob -- [istarget] {
     "nios2-*-*" {
 	set core-regs {nios2-cpu.xml}
     }
+    "or1k-*-*" {
+	set core-regs {or1k-core.xml}
+    }
     "powerpc*-*-*" {
 	set regdir "rs6000/"
 	set core-regs {power-core.xml}