public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb: Use correct feature in tdesc-regs for ARC
@ 2021-01-25 23:02 Shahab Vahedi
  2021-01-26  9:17 ` Andrew Burgess
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shahab Vahedi @ 2021-01-25 23:02 UTC (permalink / raw)
  To: gdb-patches; +Cc: Shahab Vahedi, Shahab Vahedi, Francois Bedard

From: Shahab Vahedi <shahab@synopsys.com>

tdesc-regs.exp test fails for ARC because the test is not
using the correct XML files as target description.  With
this change, the correct directory and files are used.

gdb/testsuite/ChangeLog:

	* gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
---
 gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.xml/tdesc-regs.exp b/gdb/testsuite/gdb.xml/tdesc-regs.exp
index 1ee6ae1bff3..8ab39649c94 100644
--- a/gdb/testsuite/gdb.xml/tdesc-regs.exp
+++ b/gdb/testsuite/gdb.xml/tdesc-regs.exp
@@ -32,7 +32,8 @@ switch -glob -- [istarget] {
     }
     "arc*-*-*" {
 	set architecture "arc:ARCv2"
-	set core-regs {arc-v2.xml}
+	set regdir "arc/"
+	set core-regs {core-v2.xml aux-v2.xml}
     }
     "arm*-*-*" {
 	set regdir "arm/"
-- 
2.30.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-04 19:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 23:02 [PATCH] gdb: Use correct feature in tdesc-regs for ARC Shahab Vahedi
2021-01-26  9:17 ` Andrew Burgess
2021-01-26 11:02   ` Shahab Vahedi
2021-01-26 10:47 ` [PATCH v2] " Shahab Vahedi
2021-02-04 19:35 ` [PUSHED] " Shahab Vahedi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).