public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* catch-syscall.exp: Fix missing architecture name for s390:31-bit
@ 2015-03-03 12:00 Andreas Arnez
  2015-03-03 16:22 ` Ulrich Weigand
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Arnez @ 2015-03-03 12:00 UTC (permalink / raw)
  To: gdb-patches

For the "multiple targets" test in catch-syscall.exp, set the 'arch1'
variable to a valid string.

Note that this test still fails unless the following patches are
applied as well:

* "S390: Place "s390:31-bit" after default arch in 64-bit arch list"
  (https://sourceware.org/ml/binutils/2015-03/msg00013.html)

* "S390: Fix syscall list for s390x"
  (https://sourceware.org/ml/gdb-patches/2015-03/msg00062.html)

gdb/testsuite/ChangeLog:

	* gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
	the 'arch1' variable for "s390*-linux*" targets.
---
 gdb/testsuite/gdb.base/catch-syscall.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp
index 8f9dec3..498ae36 100644
--- a/gdb/testsuite/gdb.base/catch-syscall.exp
+++ b/gdb/testsuite/gdb.base/catch-syscall.exp
@@ -403,7 +403,7 @@ proc test_catch_syscall_multi_arch {} {
 	verbose "Not testing ARM for multi-arch syscall support"
 	return
     } elseif { [istarget "s390*-linux*"] } {
-	set arch1 ""
+	set arch1 "s390:31-bit"
 	set arch2 "s390:64-bit"
 	set syscall1_name "_newselect"
 	set syscall2_name "select"
-- 
2.1.4

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

* Re: catch-syscall.exp: Fix missing architecture name for s390:31-bit
  2015-03-03 12:00 catch-syscall.exp: Fix missing architecture name for s390:31-bit Andreas Arnez
@ 2015-03-03 16:22 ` Ulrich Weigand
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Weigand @ 2015-03-03 16:22 UTC (permalink / raw)
  To: Andreas Arnez; +Cc: gdb-patches

Andreas Arnez wrote:

> gdb/testsuite/ChangeLog:
> 
> 	* gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
> 	the 'arch1' variable for "s390*-linux*" targets.

This is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com

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

end of thread, other threads:[~2015-03-03 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 12:00 catch-syscall.exp: Fix missing architecture name for s390:31-bit Andreas Arnez
2015-03-03 16:22 ` Ulrich Weigand

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).