aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2016-03-17 10:55:55 +0100
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2016-03-17 10:55:55 +0100
commitbba960fc4b3f330ec75ef7d3581aaaed4c560c49 (patch)
tree6e9a8b1d39aa76e7dd12b92293ca7bfbf921df52 /gdb
parent64bcd522de3ae1b88d042986de8e36e44b9f2e42 (diff)
downloadgdb-bba960fc4b3f330ec75ef7d3581aaaed4c560c49.zip
gdb-bba960fc4b3f330ec75ef7d3581aaaed4c560c49.tar.gz
gdb-bba960fc4b3f330ec75ef7d3581aaaed4c560c49.tar.bz2
S390: Add syscall info for syscalls up to 374
Represent new Linux syscalls for s390 and s390x in GDB's syscall info. Add the syscalls from 355 (userfaultfd) up to 374 (mlock2) as well as the previously reserved NUMA syscalls 268-270, 287, and 310. gdb/ChangeLog: * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up to 374. * syscalls/s390x-linux.xml: Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/syscalls/s390-linux.xml25
-rw-r--r--gdb/syscalls/s390x-linux.xml25
3 files changed, 56 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2762546..32d1a83 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
+ * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up
+ to 374.
+ * syscalls/s390x-linux.xml: Likewise.
+
+2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
* linux-record.c (record_mem_at_reg): New helper function.
(record_linux_system_call): Exploit new helper function where
applicable.
diff --git a/gdb/syscalls/s390-linux.xml b/gdb/syscalls/s390-linux.xml
index 6c0593f..56e9287 100644
--- a/gdb/syscalls/s390-linux.xml
+++ b/gdb/syscalls/s390-linux.xml
@@ -259,6 +259,9 @@
<syscall name="statfs64" number="265"/>
<syscall name="fstatfs64" number="266"/>
<syscall name="remap_file_pages" number="267"/>
+ <syscall name="mbind" number="268"/>
+ <syscall name="get_mempolicy" number="269"/>
+ <syscall name="set_mempolicy" number="270"/>
<syscall name="mq_open" number="271"/>
<syscall name="mq_unlink" number="272"/>
<syscall name="mq_timedsend" number="273"/>
@@ -275,6 +278,7 @@
<syscall name="inotify_init" number="284"/>
<syscall name="inotify_add_watch" number="285"/>
<syscall name="inotify_rm_watch" number="286"/>
+ <syscall name="migrate_pages" number="287"/>
<syscall name="openat" number="288"/>
<syscall name="mkdirat" number="289"/>
<syscall name="mknodat" number="290"/>
@@ -297,6 +301,7 @@
<syscall name="sync_file_range" number="307"/>
<syscall name="tee" number="308"/>
<syscall name="vmsplice" number="309"/>
+ <syscall name="move_pages" number="310"/>
<syscall name="getcpu" number="311"/>
<syscall name="epoll_pwait" number="312"/>
<syscall name="utimes" number="313"/>
@@ -339,4 +344,24 @@
<syscall name="s390_pci_mmio_write" number="352"/>
<syscall name="s390_pci_mmio_read" number="353"/>
<syscall name="execveat" number="354"/>
+ <syscall name="userfaultfd" number="355"/>
+ <syscall name="membarrier" number="356"/>
+ <syscall name="recvmmsg" number="357"/>
+ <syscall name="sendmmsg" number="358"/>
+ <syscall name="socket" number="359"/>
+ <syscall name="socketpair" number="360"/>
+ <syscall name="bind" number="361"/>
+ <syscall name="connect" number="362"/>
+ <syscall name="listen" number="363"/>
+ <syscall name="accept4" number="364"/>
+ <syscall name="getsockopt" number="365"/>
+ <syscall name="setsockopt" number="366"/>
+ <syscall name="getsockname" number="367"/>
+ <syscall name="getpeername" number="368"/>
+ <syscall name="sendto" number="369"/>
+ <syscall name="sendmsg" number="370"/>
+ <syscall name="recvfrom" number="371"/>
+ <syscall name="recvmsg" number="372"/>
+ <syscall name="shutdown" number="373"/>
+ <syscall name="mlock2" number="374"/>
</syscalls_info>
diff --git a/gdb/syscalls/s390x-linux.xml b/gdb/syscalls/s390x-linux.xml
index 563e521..91a8927 100644
--- a/gdb/syscalls/s390x-linux.xml
+++ b/gdb/syscalls/s390x-linux.xml
@@ -226,6 +226,9 @@
<syscall name="statfs64" number="265"/>
<syscall name="fstatfs64" number="266"/>
<syscall name="remap_file_pages" number="267"/>
+ <syscall name="mbind" number="268"/>
+ <syscall name="get_mempolicy" number="269"/>
+ <syscall name="set_mempolicy" number="270"/>
<syscall name="mq_open" number="271"/>
<syscall name="mq_unlink" number="272"/>
<syscall name="mq_timedsend" number="273"/>
@@ -242,6 +245,7 @@
<syscall name="inotify_init" number="284"/>
<syscall name="inotify_add_watch" number="285"/>
<syscall name="inotify_rm_watch" number="286"/>
+ <syscall name="migrate_pages" number="287"/>
<syscall name="openat" number="288"/>
<syscall name="mkdirat" number="289"/>
<syscall name="mknodat" number="290"/>
@@ -264,6 +268,7 @@
<syscall name="sync_file_range" number="307"/>
<syscall name="tee" number="308"/>
<syscall name="vmsplice" number="309"/>
+ <syscall name="move_pages" number="310"/>
<syscall name="getcpu" number="311"/>
<syscall name="epoll_pwait" number="312"/>
<syscall name="utimes" number="313"/>
@@ -306,4 +311,24 @@
<syscall name="s390_pci_mmio_write" number="352"/>
<syscall name="s390_pci_mmio_read" number="353"/>
<syscall name="execveat" number="354"/>
+ <syscall name="userfaultfd" number="355"/>
+ <syscall name="membarrier" number="356"/>
+ <syscall name="recvmmsg" number="357"/>
+ <syscall name="sendmmsg" number="358"/>
+ <syscall name="socket" number="359"/>
+ <syscall name="socketpair" number="360"/>
+ <syscall name="bind" number="361"/>
+ <syscall name="connect" number="362"/>
+ <syscall name="listen" number="363"/>
+ <syscall name="accept4" number="364"/>
+ <syscall name="getsockopt" number="365"/>
+ <syscall name="setsockopt" number="366"/>
+ <syscall name="getsockname" number="367"/>
+ <syscall name="getpeername" number="368"/>
+ <syscall name="sendto" number="369"/>
+ <syscall name="sendmsg" number="370"/>
+ <syscall name="recvfrom" number="371"/>
+ <syscall name="recvmsg" number="372"/>
+ <syscall name="shutdown" number="373"/>
+ <syscall name="mlock2" number="374"/>
</syscalls_info>