diff mbox

S390: Add syscall info for syscalls up to 374

Message ID m3oaaf4um2.fsf@oc1027705133.ibm.com
State New
Headers show

Commit Message

Andreas Arnez March 15, 2016, 3:40 p.m. UTC
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.
---
 gdb/syscalls/s390-linux.xml  | 25 +++++++++++++++++++++++++
 gdb/syscalls/s390x-linux.xml | 25 +++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

Comments

Andreas Arnez March 17, 2016, 10:01 a.m. UTC | #1
On Tue, Mar 15 2016, Andreas Arnez wrote:

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

Pushed.

--
Andreas
diff mbox

Patch

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>