aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/catch-syscall.exp
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@vnet.linux.ibm.com>2014-01-22 18:54:43 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-01-22 18:54:43 +0100
commit237b092b9f52d90716e537d624e9a8c60a4cd4b5 (patch)
treebfe2e78b5ca16b2d49af5b82ac99e789e4890b60 /gdb/testsuite/gdb.base/catch-syscall.exp
parentd674a7090f3ae01552e9df5044acc2df1127a7c0 (diff)
downloadgdb-237b092b9f52d90716e537d624e9a8c60a4cd4b5.zip
gdb-237b092b9f52d90716e537d624e9a8c60a4cd4b5.tar.gz
gdb-237b092b9f52d90716e537d624e9a8c60a4cd4b5.tar.bz2
gdb/ChangeLog:
* syscalls/s390x-linux.xml: New file. * syscalls/s390-linux.xml: New file. * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. (XML_SYSCALL_FILENAME_S390X): Likewise. (op_svc): New enum value for SVC opcode. (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. (s390_linux_get_syscall_number): New function. (s390_gdbarch_init): Register '*get_syscall_number' and the syscall xml file name. * data-directory/Makefile.in (SYSCALLS_FILES): Add "s390-linux.xml" and "s390x-linux.xml". * NEWS: Announce new feature. gdb/testsuite/ChangeLog: * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
Diffstat (limited to 'gdb/testsuite/gdb.base/catch-syscall.exp')
-rw-r--r--gdb/testsuite/gdb.base/catch-syscall.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp
index 8ff4220..da838f7 100644
--- a/gdb/testsuite/gdb.base/catch-syscall.exp
+++ b/gdb/testsuite/gdb.base/catch-syscall.exp
@@ -34,7 +34,8 @@ if { ![istarget "hppa*-hp-hpux*"] && ![istarget "*-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 "mips*-linux*"] && ![istarget "arm*-linux*"]
+ && ![istarget "s390*-linux*"] } {
continue
}