This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Don't skip catch-syscall.exp on hppa*-hp-hpux* target


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eba5ab56cf54396325f855a39654964bb9e28a9c

commit eba5ab56cf54396325f855a39654964bb9e28a9c
Author: Yao Qi <yao.qi@linaro.org>
Date:   Fri Feb 27 13:45:06 2015 +0000

    Don't skip catch-syscall.exp on hppa*-hp-hpux* target
    
    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.

Diff:
---
 gdb/testsuite/ChangeLog                  | 5 +++++
 gdb/testsuite/gdb.base/catch-syscall.exp | 8 +-------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 373cec7..a5896be 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-27  Yao Qi  <yao.qi@linaro.org>
+
+	* gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
+	target.
+
 2015-02-26  Doug Evans  <dje@google.com>
 
 	* gdb.cp/class2.cc (Dbase, D): New classes.
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
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]