Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Don't skip catch-syscall.exp on hppa*-hp-hpux* target
@ 2015-02-27 10:39 Yao Qi
  2015-02-27 12:36 ` Pedro Alves
  0 siblings, 1 reply; 3+ messages in thread
From: Yao Qi @ 2015-02-27 10:39 UTC (permalink / raw)
  To: gdb-patches

From: Yao Qi <yao.qi@linaro.org>

As far as I know, "catch syscall" is supported on hppa*-hp-hpux*, but
the test catch-syscall.exp is skipped on this target by mistake.  This
patch is to fix it.  However, I don't have a hpux machine to test.

gdb/testsuite:

2015-02-27  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
	target.
---
 gdb/testsuite/gdb.base/catch-syscall.exp | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp
index 33f5354..8f9dec3 100644
--- a/gdb/testsuite/gdb.base/catch-syscall.exp
+++ b/gdb/testsuite/gdb.base/catch-syscall.exp
@@ -23,19 +23,13 @@ if { [is_remote target] || ![isnative] } then {
     continue
 }
 
-# Until "catch syscall" is implemented on other targets...
-if { ![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"] } {
-    continue
-}
-
 # This shall be updated whenever 'catch syscall' is implemented
 # on some architecture.
-#if { ![istarget "i\[34567\]86-*-linux*"]
 if { ![istarget "x86_64-*-linux*"] && ![istarget "i\[34567\]86-*-linux*"]
      && ![istarget "powerpc-*-linux*"] && ![istarget "powerpc64-*-linux*"]
      && ![istarget "sparc-*-linux*"] && ![istarget "sparc64-*-linux*"]
      && ![istarget "mips*-linux*"] && ![istarget "arm*-linux*"]
-     && ![istarget "s390*-linux*"] } {
+     && ![istarget "s390*-linux*"] && ![istarget "hppa*-hp-hpux*"] } {
      continue
 }
 
-- 
1.9.1


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

* Re: [PATCH] Don't skip catch-syscall.exp on hppa*-hp-hpux* target
  2015-02-27 10:39 [PATCH] Don't skip catch-syscall.exp on hppa*-hp-hpux* target Yao Qi
@ 2015-02-27 12:36 ` Pedro Alves
  2015-02-27 13:46   ` Yao Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2015-02-27 12:36 UTC (permalink / raw)
  To: Yao Qi, gdb-patches

On 02/27/2015 10:39 AM, Yao Qi wrote:
> From: Yao Qi <yao.qi@linaro.org>
> 
> As far as I know, "catch syscall" is supported on hppa*-hp-hpux*, but
> the test catch-syscall.exp is skipped on this target by mistake.  This
> patch is to fix it.  However, I don't have a hpux machine to test.

LGTM.

Thanks,
Pedro Alves


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

* Re: [PATCH] Don't skip catch-syscall.exp on hppa*-hp-hpux* target
  2015-02-27 12:36 ` Pedro Alves
@ 2015-02-27 13:46   ` Yao Qi
  0 siblings, 0 replies; 3+ messages in thread
From: Yao Qi @ 2015-02-27 13:46 UTC (permalink / raw)
  To: gdb-patches

On 27/02/15 12:36, Pedro Alves wrote:
> On 02/27/2015 10:39 AM, Yao Qi wrote:
>> From: Yao Qi <yao.qi@linaro.org>
>>
>> As far as I know, "catch syscall" is supported on hppa*-hp-hpux*, but
>> the test catch-syscall.exp is skipped on this target by mistake.  This
>> patch is to fix it.  However, I don't have a hpux machine to test.
>
> LGTM.
>

Thanks, patch is pushed in.

-- 
Yao (齐尧)


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

end of thread, other threads:[~2015-02-27 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-27 10:39 [PATCH] Don't skip catch-syscall.exp on hppa*-hp-hpux* target Yao Qi
2015-02-27 12:36 ` Pedro Alves
2015-02-27 13:46   ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox