aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/syscalls/amd64-linux.xml2
-rw-r--r--gdb/syscalls/amd64-linux.xml.in2
-rw-r--r--gdb/syscalls/i386-linux.xml2
-rw-r--r--gdb/syscalls/i386-linux.xml.in2
-rw-r--r--gdb/syscalls/mips-n32-linux.xml82
-rw-r--r--gdb/syscalls/mips-n32-linux.xml.in83
-rw-r--r--gdb/syscalls/mips-n64-linux.xml60
-rw-r--r--gdb/syscalls/mips-n64-linux.xml.in61
-rw-r--r--gdb/syscalls/mips-o32-linux.xml90
-rw-r--r--gdb/syscalls/mips-o32-linux.xml.in91
-rw-r--r--gdb/syscalls/ppc-linux.xml5
-rw-r--r--gdb/syscalls/ppc-linux.xml.in5
-rw-r--r--gdb/syscalls/ppc64-linux.xml5
-rw-r--r--gdb/syscalls/ppc64-linux.xml.in5
-rw-r--r--gdb/syscalls/s390-linux.xml72
-rw-r--r--gdb/syscalls/s390-linux.xml.in73
-rw-r--r--gdb/syscalls/s390x-linux.xml53
-rw-r--r--gdb/syscalls/s390x-linux.xml.in54
-rw-r--r--gdb/syscalls/sparc-linux.xml96
-rw-r--r--gdb/syscalls/sparc-linux.xml.in99
-rw-r--r--gdb/syscalls/sparc64-linux.xml77
-rw-r--r--gdb/syscalls/sparc64-linux.xml.in80
-rwxr-xr-xgdb/syscalls/update-linux-from-src.sh169
23 files changed, 1230 insertions, 38 deletions
diff --git a/gdb/syscalls/amd64-linux.xml b/gdb/syscalls/amd64-linux.xml
index 231308b..cf2b5c8 100644
--- a/gdb/syscalls/amd64-linux.xml
+++ b/gdb/syscalls/amd64-linux.xml
@@ -7,7 +7,7 @@
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/x86/entry/syscalls/syscall_64.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
diff --git a/gdb/syscalls/amd64-linux.xml.in b/gdb/syscalls/amd64-linux.xml.in
index 404d445..e2c8450 100644
--- a/gdb/syscalls/amd64-linux.xml.in
+++ b/gdb/syscalls/amd64-linux.xml.in
@@ -9,7 +9,7 @@
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/x86/entry/syscalls/syscall_64.tbl
The file mentioned above belongs to the Linux Kernel. -->
diff --git a/gdb/syscalls/i386-linux.xml b/gdb/syscalls/i386-linux.xml
index c4b2811..cff0e04 100644
--- a/gdb/syscalls/i386-linux.xml
+++ b/gdb/syscalls/i386-linux.xml
@@ -7,7 +7,7 @@
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/x86/entry/syscalls/syscall_32.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
diff --git a/gdb/syscalls/i386-linux.xml.in b/gdb/syscalls/i386-linux.xml.in
index 549b595..3814acd 100644
--- a/gdb/syscalls/i386-linux.xml.in
+++ b/gdb/syscalls/i386-linux.xml.in
@@ -9,7 +9,7 @@
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/x86/entry/syscalls/syscall_32.tbl
The file mentioned above belongs to the Linux Kernel. -->
diff --git a/gdb/syscalls/mips-n32-linux.xml b/gdb/syscalls/mips-n32-linux.xml
index d6cffc4..47a8204 100644
--- a/gdb/syscalls/mips-n32-linux.xml
+++ b/gdb/syscalls/mips-n32-linux.xml
@@ -6,8 +6,8 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/mips/include/asm/unistd.h
+
+ arch/mips/kernel/syscalls/syscall_n32.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -188,7 +188,6 @@
<syscall name="getpmsg" number="6174"/>
<syscall name="putpmsg" number="6175"/>
<syscall name="afs_syscall" number="6176"/>
- <syscall name="reserved177" number="6177"/>
<syscall name="gettid" number="6178"/>
<syscall name="readahead" number="6179" groups="descriptor"/>
<syscall name="setxattr" number="6180" groups="file"/>
@@ -204,7 +203,6 @@
<syscall name="lremovexattr" number="6190" groups="file"/>
<syscall name="fremovexattr" number="6191" groups="descriptor"/>
<syscall name="tkill" number="6192" groups="signal"/>
- <syscall name="reserved193" number="6193"/>
<syscall name="futex" number="6194"/>
<syscall name="sched_setaffinity" number="6195"/>
<syscall name="sched_getaffinity" number="6196"/>
@@ -313,4 +311,80 @@
<syscall name="fanotify_init" number="6300" groups="descriptor"/>
<syscall name="fanotify_mark" number="6301" groups="descriptor,file"/>
<syscall name="prlimit64" number="6302"/>
+ <syscall name="name_to_handle_at" number="6303" groups="descriptor,file"/>
+ <syscall name="open_by_handle_at" number="6304" groups="descriptor"/>
+ <syscall name="clock_adjtime" number="6305"/>
+ <syscall name="syncfs" number="6306" groups="descriptor"/>
+ <syscall name="sendmmsg" number="6307" groups="network"/>
+ <syscall name="setns" number="6308" groups="descriptor"/>
+ <syscall name="process_vm_readv" number="6309"/>
+ <syscall name="process_vm_writev" number="6310"/>
+ <syscall name="kcmp" number="6311"/>
+ <syscall name="finit_module" number="6312" groups="descriptor"/>
+ <syscall name="sched_setattr" number="6313"/>
+ <syscall name="sched_getattr" number="6314"/>
+ <syscall name="renameat2" number="6315"/>
+ <syscall name="seccomp" number="6316"/>
+ <syscall name="getrandom" number="6317"/>
+ <syscall name="memfd_create" number="6318"/>
+ <syscall name="bpf" number="6319"/>
+ <syscall name="execveat" number="6320"/>
+ <syscall name="userfaultfd" number="6321"/>
+ <syscall name="membarrier" number="6322"/>
+ <syscall name="mlock2" number="6323"/>
+ <syscall name="copy_file_range" number="6324"/>
+ <syscall name="preadv2" number="6325"/>
+ <syscall name="pwritev2" number="6326"/>
+ <syscall name="pkey_mprotect" number="6327"/>
+ <syscall name="pkey_alloc" number="6328"/>
+ <syscall name="pkey_free" number="6329"/>
+ <syscall name="statx" number="6330"/>
+ <syscall name="rseq" number="6331"/>
+ <syscall name="io_pgetevents" number="6332"/>
+ <syscall name="clock_gettime64" number="6403"/>
+ <syscall name="clock_settime64" number="6404"/>
+ <syscall name="clock_adjtime64" number="6405"/>
+ <syscall name="clock_getres_time64" number="6406"/>
+ <syscall name="clock_nanosleep_time64" number="6407"/>
+ <syscall name="timer_gettime64" number="6408"/>
+ <syscall name="timer_settime64" number="6409"/>
+ <syscall name="timerfd_gettime64" number="6410"/>
+ <syscall name="timerfd_settime64" number="6411"/>
+ <syscall name="utimensat_time64" number="6412"/>
+ <syscall name="pselect6_time64" number="6413"/>
+ <syscall name="ppoll_time64" number="6414"/>
+ <syscall name="io_pgetevents_time64" number="6416"/>
+ <syscall name="recvmmsg_time64" number="6417"/>
+ <syscall name="mq_timedsend_time64" number="6418"/>
+ <syscall name="mq_timedreceive_time64" number="6419"/>
+ <syscall name="semtimedop_time64" number="6420"/>
+ <syscall name="rt_sigtimedwait_time64" number="6421"/>
+ <syscall name="futex_time64" number="6422"/>
+ <syscall name="sched_rr_get_interval_time64" number="6423"/>
+ <syscall name="pidfd_send_signal" number="6424"/>
+ <syscall name="io_uring_setup" number="6425"/>
+ <syscall name="io_uring_enter" number="6426"/>
+ <syscall name="io_uring_register" number="6427"/>
+ <syscall name="open_tree" number="6428"/>
+ <syscall name="move_mount" number="6429"/>
+ <syscall name="fsopen" number="6430"/>
+ <syscall name="fsconfig" number="6431"/>
+ <syscall name="fsmount" number="6432"/>
+ <syscall name="fspick" number="6433"/>
+ <syscall name="pidfd_open" number="6434"/>
+ <syscall name="clone3" number="6435"/>
+ <syscall name="close_range" number="6436"/>
+ <syscall name="openat2" number="6437"/>
+ <syscall name="pidfd_getfd" number="6438"/>
+ <syscall name="faccessat2" number="6439"/>
+ <syscall name="process_madvise" number="6440"/>
+ <syscall name="epoll_pwait2" number="6441"/>
+ <syscall name="mount_setattr" number="6442"/>
+ <syscall name="quotactl_fd" number="6443"/>
+ <syscall name="landlock_create_ruleset" number="6444"/>
+ <syscall name="landlock_add_rule" number="6445"/>
+ <syscall name="landlock_restrict_self" number="6446"/>
+ <syscall name="process_mrelease" number="6448"/>
+ <syscall name="futex_waitv" number="6449"/>
+ <syscall name="set_mempolicy_home_node" number="6450"/>
</syscalls_info>
diff --git a/gdb/syscalls/mips-n32-linux.xml.in b/gdb/syscalls/mips-n32-linux.xml.in
index cbdf82e..85528f2 100644
--- a/gdb/syscalls/mips-n32-linux.xml.in
+++ b/gdb/syscalls/mips-n32-linux.xml.in
@@ -8,11 +8,12 @@
<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/mips/include/asm/unistd.h
+
+ arch/mips/kernel/syscalls/syscall_n32.tbl
The file mentioned above belongs to the Linux Kernel. -->
+
<syscalls_info>
<syscall name="read" number="6000"/>
<syscall name="write" number="6001"/>
@@ -191,7 +192,6 @@
<syscall name="getpmsg" number="6174"/>
<syscall name="putpmsg" number="6175"/>
<syscall name="afs_syscall" number="6176"/>
- <syscall name="reserved177" number="6177"/>
<syscall name="gettid" number="6178"/>
<syscall name="readahead" number="6179"/>
<syscall name="setxattr" number="6180"/>
@@ -207,7 +207,6 @@
<syscall name="lremovexattr" number="6190"/>
<syscall name="fremovexattr" number="6191"/>
<syscall name="tkill" number="6192"/>
- <syscall name="reserved193" number="6193"/>
<syscall name="futex" number="6194"/>
<syscall name="sched_setaffinity" number="6195"/>
<syscall name="sched_getaffinity" number="6196"/>
@@ -316,4 +315,80 @@
<syscall name="fanotify_init" number="6300"/>
<syscall name="fanotify_mark" number="6301"/>
<syscall name="prlimit64" number="6302"/>
+ <syscall name="name_to_handle_at" number="6303"/>
+ <syscall name="open_by_handle_at" number="6304"/>
+ <syscall name="clock_adjtime" number="6305"/>
+ <syscall name="syncfs" number="6306"/>
+ <syscall name="sendmmsg" number="6307"/>
+ <syscall name="setns" number="6308"/>
+ <syscall name="process_vm_readv" number="6309"/>
+ <syscall name="process_vm_writev" number="6310"/>
+ <syscall name="kcmp" number="6311"/>
+ <syscall name="finit_module" number="6312"/>
+ <syscall name="sched_setattr" number="6313"/>
+ <syscall name="sched_getattr" number="6314"/>
+ <syscall name="renameat2" number="6315"/>
+ <syscall name="seccomp" number="6316"/>
+ <syscall name="getrandom" number="6317"/>
+ <syscall name="memfd_create" number="6318"/>
+ <syscall name="bpf" number="6319"/>
+ <syscall name="execveat" number="6320"/>
+ <syscall name="userfaultfd" number="6321"/>
+ <syscall name="membarrier" number="6322"/>
+ <syscall name="mlock2" number="6323"/>
+ <syscall name="copy_file_range" number="6324"/>
+ <syscall name="preadv2" number="6325"/>
+ <syscall name="pwritev2" number="6326"/>
+ <syscall name="pkey_mprotect" number="6327"/>
+ <syscall name="pkey_alloc" number="6328"/>
+ <syscall name="pkey_free" number="6329"/>
+ <syscall name="statx" number="6330"/>
+ <syscall name="rseq" number="6331"/>
+ <syscall name="io_pgetevents" number="6332"/>
+ <syscall name="clock_gettime64" number="6403"/>
+ <syscall name="clock_settime64" number="6404"/>
+ <syscall name="clock_adjtime64" number="6405"/>
+ <syscall name="clock_getres_time64" number="6406"/>
+ <syscall name="clock_nanosleep_time64" number="6407"/>
+ <syscall name="timer_gettime64" number="6408"/>
+ <syscall name="timer_settime64" number="6409"/>
+ <syscall name="timerfd_gettime64" number="6410"/>
+ <syscall name="timerfd_settime64" number="6411"/>
+ <syscall name="utimensat_time64" number="6412"/>
+ <syscall name="pselect6_time64" number="6413"/>
+ <syscall name="ppoll_time64" number="6414"/>
+ <syscall name="io_pgetevents_time64" number="6416"/>
+ <syscall name="recvmmsg_time64" number="6417"/>
+ <syscall name="mq_timedsend_time64" number="6418"/>
+ <syscall name="mq_timedreceive_time64" number="6419"/>
+ <syscall name="semtimedop_time64" number="6420"/>
+ <syscall name="rt_sigtimedwait_time64" number="6421"/>
+ <syscall name="futex_time64" number="6422"/>
+ <syscall name="sched_rr_get_interval_time64" number="6423"/>
+ <syscall name="pidfd_send_signal" number="6424"/>
+ <syscall name="io_uring_setup" number="6425"/>
+ <syscall name="io_uring_enter" number="6426"/>
+ <syscall name="io_uring_register" number="6427"/>
+ <syscall name="open_tree" number="6428"/>
+ <syscall name="move_mount" number="6429"/>
+ <syscall name="fsopen" number="6430"/>
+ <syscall name="fsconfig" number="6431"/>
+ <syscall name="fsmount" number="6432"/>
+ <syscall name="fspick" number="6433"/>
+ <syscall name="pidfd_open" number="6434"/>
+ <syscall name="clone3" number="6435"/>
+ <syscall name="close_range" number="6436"/>
+ <syscall name="openat2" number="6437"/>
+ <syscall name="pidfd_getfd" number="6438"/>
+ <syscall name="faccessat2" number="6439"/>
+ <syscall name="process_madvise" number="6440"/>
+ <syscall name="epoll_pwait2" number="6441"/>
+ <syscall name="mount_setattr" number="6442"/>
+ <syscall name="quotactl_fd" number="6443"/>
+ <syscall name="landlock_create_ruleset" number="6444"/>
+ <syscall name="landlock_add_rule" number="6445"/>
+ <syscall name="landlock_restrict_self" number="6446"/>
+ <syscall name="process_mrelease" number="6448"/>
+ <syscall name="futex_waitv" number="6449"/>
+ <syscall name="set_mempolicy_home_node" number="6450"/>
</syscalls_info>
diff --git a/gdb/syscalls/mips-n64-linux.xml b/gdb/syscalls/mips-n64-linux.xml
index c750753..d1c2984 100644
--- a/gdb/syscalls/mips-n64-linux.xml
+++ b/gdb/syscalls/mips-n64-linux.xml
@@ -6,8 +6,8 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/mips/include/asm/unistd.h
+
+ arch/mips/kernel/syscalls/syscall_n64.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -306,4 +306,60 @@
<syscall name="fanotify_init" number="5295" groups="descriptor"/>
<syscall name="fanotify_mark" number="5296" groups="descriptor,file"/>
<syscall name="prlimit64" number="5297"/>
+ <syscall name="name_to_handle_at" number="5298" groups="descriptor,file"/>
+ <syscall name="open_by_handle_at" number="5299" groups="descriptor"/>
+ <syscall name="clock_adjtime" number="5300"/>
+ <syscall name="syncfs" number="5301" groups="descriptor"/>
+ <syscall name="sendmmsg" number="5302" groups="network"/>
+ <syscall name="setns" number="5303" groups="descriptor"/>
+ <syscall name="process_vm_readv" number="5304"/>
+ <syscall name="process_vm_writev" number="5305"/>
+ <syscall name="kcmp" number="5306"/>
+ <syscall name="finit_module" number="5307" groups="descriptor"/>
+ <syscall name="getdents64" number="5308" groups="descriptor"/>
+ <syscall name="sched_setattr" number="5309"/>
+ <syscall name="sched_getattr" number="5310"/>
+ <syscall name="renameat2" number="5311"/>
+ <syscall name="seccomp" number="5312"/>
+ <syscall name="getrandom" number="5313"/>
+ <syscall name="memfd_create" number="5314"/>
+ <syscall name="bpf" number="5315"/>
+ <syscall name="execveat" number="5316"/>
+ <syscall name="userfaultfd" number="5317"/>
+ <syscall name="membarrier" number="5318"/>
+ <syscall name="mlock2" number="5319"/>
+ <syscall name="copy_file_range" number="5320"/>
+ <syscall name="preadv2" number="5321"/>
+ <syscall name="pwritev2" number="5322"/>
+ <syscall name="pkey_mprotect" number="5323"/>
+ <syscall name="pkey_alloc" number="5324"/>
+ <syscall name="pkey_free" number="5325"/>
+ <syscall name="statx" number="5326"/>
+ <syscall name="rseq" number="5327"/>
+ <syscall name="io_pgetevents" number="5328"/>
+ <syscall name="pidfd_send_signal" number="5424"/>
+ <syscall name="io_uring_setup" number="5425"/>
+ <syscall name="io_uring_enter" number="5426"/>
+ <syscall name="io_uring_register" number="5427"/>
+ <syscall name="open_tree" number="5428"/>
+ <syscall name="move_mount" number="5429"/>
+ <syscall name="fsopen" number="5430"/>
+ <syscall name="fsconfig" number="5431"/>
+ <syscall name="fsmount" number="5432"/>
+ <syscall name="fspick" number="5433"/>
+ <syscall name="pidfd_open" number="5434"/>
+ <syscall name="clone3" number="5435"/>
+ <syscall name="close_range" number="5436"/>
+ <syscall name="openat2" number="5437"/>
+ <syscall name="pidfd_getfd" number="5438"/>
+ <syscall name="faccessat2" number="5439"/>
+ <syscall name="process_madvise" number="5440"/>
+ <syscall name="epoll_pwait2" number="5441"/>
+ <syscall name="mount_setattr" number="5442"/>
+ <syscall name="quotactl_fd" number="5443"/>
+ <syscall name="landlock_create_ruleset" number="5444"/>
+ <syscall name="landlock_add_rule" number="5445"/>
+ <syscall name="landlock_restrict_self" number="5446"/>
+ <syscall name="process_mrelease" number="5448"/>
+ <syscall name="futex_waitv" number="5449"/>
</syscalls_info>
diff --git a/gdb/syscalls/mips-n64-linux.xml.in b/gdb/syscalls/mips-n64-linux.xml.in
index 28ac150..26e470e 100644
--- a/gdb/syscalls/mips-n64-linux.xml.in
+++ b/gdb/syscalls/mips-n64-linux.xml.in
@@ -8,11 +8,12 @@
<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/mips/include/asm/unistd.h
+
+ arch/mips/kernel/syscalls/syscall_n64.tbl
The file mentioned above belongs to the Linux Kernel. -->
+
<syscalls_info>
<syscall name="read" number="5000"/>
<syscall name="write" number="5001"/>
@@ -309,4 +310,60 @@
<syscall name="fanotify_init" number="5295"/>
<syscall name="fanotify_mark" number="5296"/>
<syscall name="prlimit64" number="5297"/>
+ <syscall name="name_to_handle_at" number="5298"/>
+ <syscall name="open_by_handle_at" number="5299"/>
+ <syscall name="clock_adjtime" number="5300"/>
+ <syscall name="syncfs" number="5301"/>
+ <syscall name="sendmmsg" number="5302"/>
+ <syscall name="setns" number="5303"/>
+ <syscall name="process_vm_readv" number="5304"/>
+ <syscall name="process_vm_writev" number="5305"/>
+ <syscall name="kcmp" number="5306"/>
+ <syscall name="finit_module" number="5307"/>
+ <syscall name="getdents64" number="5308"/>
+ <syscall name="sched_setattr" number="5309"/>
+ <syscall name="sched_getattr" number="5310"/>
+ <syscall name="renameat2" number="5311"/>
+ <syscall name="seccomp" number="5312"/>
+ <syscall name="getrandom" number="5313"/>
+ <syscall name="memfd_create" number="5314"/>
+ <syscall name="bpf" number="5315"/>
+ <syscall name="execveat" number="5316"/>
+ <syscall name="userfaultfd" number="5317"/>
+ <syscall name="membarrier" number="5318"/>
+ <syscall name="mlock2" number="5319"/>
+ <syscall name="copy_file_range" number="5320"/>
+ <syscall name="preadv2" number="5321"/>
+ <syscall name="pwritev2" number="5322"/>
+ <syscall name="pkey_mprotect" number="5323"/>
+ <syscall name="pkey_alloc" number="5324"/>
+ <syscall name="pkey_free" number="5325"/>
+ <syscall name="statx" number="5326"/>
+ <syscall name="rseq" number="5327"/>
+ <syscall name="io_pgetevents" number="5328"/>
+ <syscall name="pidfd_send_signal" number="5424"/>
+ <syscall name="io_uring_setup" number="5425"/>
+ <syscall name="io_uring_enter" number="5426"/>
+ <syscall name="io_uring_register" number="5427"/>
+ <syscall name="open_tree" number="5428"/>
+ <syscall name="move_mount" number="5429"/>
+ <syscall name="fsopen" number="5430"/>
+ <syscall name="fsconfig" number="5431"/>
+ <syscall name="fsmount" number="5432"/>
+ <syscall name="fspick" number="5433"/>
+ <syscall name="pidfd_open" number="5434"/>
+ <syscall name="clone3" number="5435"/>
+ <syscall name="close_range" number="5436"/>
+ <syscall name="openat2" number="5437"/>
+ <syscall name="pidfd_getfd" number="5438"/>
+ <syscall name="faccessat2" number="5439"/>
+ <syscall name="process_madvise" number="5440"/>
+ <syscall name="epoll_pwait2" number="5441"/>
+ <syscall name="mount_setattr" number="5442"/>
+ <syscall name="quotactl_fd" number="5443"/>
+ <syscall name="landlock_create_ruleset" number="5444"/>
+ <syscall name="landlock_add_rule" number="5445"/>
+ <syscall name="landlock_restrict_self" number="5446"/>
+ <syscall name="process_mrelease" number="5448"/>
+ <syscall name="futex_waitv" number="5449"/>
</syscalls_info>
diff --git a/gdb/syscalls/mips-o32-linux.xml b/gdb/syscalls/mips-o32-linux.xml
index 1e845d6..b7e7af3 100644
--- a/gdb/syscalls/mips-o32-linux.xml
+++ b/gdb/syscalls/mips-o32-linux.xml
@@ -6,8 +6,8 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/mips/include/asm/unistd.h
+
+ arch/mips/kernel/syscalls/syscall_o32.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -341,4 +341,90 @@
<syscall name="fanotify_init" number="4336" groups="descriptor"/>
<syscall name="fanotify_mark" number="4337" groups="descriptor,file"/>
<syscall name="prlimit64" number="4338"/>
+ <syscall name="name_to_handle_at" number="4339" groups="descriptor,file"/>
+ <syscall name="open_by_handle_at" number="4340" groups="descriptor"/>
+ <syscall name="clock_adjtime" number="4341"/>
+ <syscall name="syncfs" number="4342" groups="descriptor"/>
+ <syscall name="sendmmsg" number="4343" groups="network"/>
+ <syscall name="setns" number="4344" groups="descriptor"/>
+ <syscall name="process_vm_readv" number="4345"/>
+ <syscall name="process_vm_writev" number="4346"/>
+ <syscall name="kcmp" number="4347"/>
+ <syscall name="finit_module" number="4348" groups="descriptor"/>
+ <syscall name="sched_setattr" number="4349"/>
+ <syscall name="sched_getattr" number="4350"/>
+ <syscall name="renameat2" number="4351"/>
+ <syscall name="seccomp" number="4352"/>
+ <syscall name="getrandom" number="4353"/>
+ <syscall name="memfd_create" number="4354"/>
+ <syscall name="bpf" number="4355"/>
+ <syscall name="execveat" number="4356"/>
+ <syscall name="userfaultfd" number="4357"/>
+ <syscall name="membarrier" number="4358"/>
+ <syscall name="mlock2" number="4359"/>
+ <syscall name="copy_file_range" number="4360"/>
+ <syscall name="preadv2" number="4361"/>
+ <syscall name="pwritev2" number="4362"/>
+ <syscall name="pkey_mprotect" number="4363"/>
+ <syscall name="pkey_alloc" number="4364"/>
+ <syscall name="pkey_free" number="4365"/>
+ <syscall name="statx" number="4366"/>
+ <syscall name="rseq" number="4367"/>
+ <syscall name="io_pgetevents" number="4368"/>
+ <syscall name="semget" number="4393" groups="ipc"/>
+ <syscall name="semctl" number="4394" groups="ipc"/>
+ <syscall name="shmget" number="4395" groups="ipc"/>
+ <syscall name="shmctl" number="4396" groups="ipc"/>
+ <syscall name="shmat" number="4397" groups="ipc,memory"/>
+ <syscall name="shmdt" number="4398" groups="ipc,memory"/>
+ <syscall name="msgget" number="4399" groups="ipc"/>
+ <syscall name="msgsnd" number="4400" groups="ipc"/>
+ <syscall name="msgrcv" number="4401" groups="ipc"/>
+ <syscall name="msgctl" number="4402" groups="ipc"/>
+ <syscall name="clock_gettime64" number="4403"/>
+ <syscall name="clock_settime64" number="4404"/>
+ <syscall name="clock_adjtime64" number="4405"/>
+ <syscall name="clock_getres_time64" number="4406"/>
+ <syscall name="clock_nanosleep_time64" number="4407"/>
+ <syscall name="timer_gettime64" number="4408"/>
+ <syscall name="timer_settime64" number="4409"/>
+ <syscall name="timerfd_gettime64" number="4410"/>
+ <syscall name="timerfd_settime64" number="4411"/>
+ <syscall name="utimensat_time64" number="4412"/>
+ <syscall name="pselect6_time64" number="4413"/>
+ <syscall name="ppoll_time64" number="4414"/>
+ <syscall name="io_pgetevents_time64" number="4416"/>
+ <syscall name="recvmmsg_time64" number="4417"/>
+ <syscall name="mq_timedsend_time64" number="4418"/>
+ <syscall name="mq_timedreceive_time64" number="4419"/>
+ <syscall name="semtimedop_time64" number="4420"/>
+ <syscall name="rt_sigtimedwait_time64" number="4421"/>
+ <syscall name="futex_time64" number="4422"/>
+ <syscall name="sched_rr_get_interval_time64" number="4423"/>
+ <syscall name="pidfd_send_signal" number="4424"/>
+ <syscall name="io_uring_setup" number="4425"/>
+ <syscall name="io_uring_enter" number="4426"/>
+ <syscall name="io_uring_register" number="4427"/>
+ <syscall name="open_tree" number="4428"/>
+ <syscall name="move_mount" number="4429"/>
+ <syscall name="fsopen" number="4430"/>
+ <syscall name="fsconfig" number="4431"/>
+ <syscall name="fsmount" number="4432"/>
+ <syscall name="fspick" number="4433"/>
+ <syscall name="pidfd_open" number="4434"/>
+ <syscall name="clone3" number="4435"/>
+ <syscall name="close_range" number="4436"/>
+ <syscall name="openat2" number="4437"/>
+ <syscall name="pidfd_getfd" number="4438"/>
+ <syscall name="faccessat2" number="4439"/>
+ <syscall name="process_madvise" number="4440"/>
+ <syscall name="epoll_pwait2" number="4441"/>
+ <syscall name="mount_setattr" number="4442"/>
+ <syscall name="quotactl_fd" number="4443"/>
+ <syscall name="landlock_create_ruleset" number="4444"/>
+ <syscall name="landlock_add_rule" number="4445"/>
+ <syscall name="landlock_restrict_self" number="4446"/>
+ <syscall name="process_mrelease" number="4448"/>
+ <syscall name="futex_waitv" number="4449"/>
+ <syscall name="set_mempolicy_home_node" number="4450"/>
</syscalls_info>
diff --git a/gdb/syscalls/mips-o32-linux.xml.in b/gdb/syscalls/mips-o32-linux.xml.in
index 98ba063..c9368e9 100644
--- a/gdb/syscalls/mips-o32-linux.xml.in
+++ b/gdb/syscalls/mips-o32-linux.xml.in
@@ -8,11 +8,12 @@
<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/mips/include/asm/unistd.h
+
+ arch/mips/kernel/syscalls/syscall_o32.tbl
The file mentioned above belongs to the Linux Kernel. -->
+
<syscalls_info>
<syscall name="syscall" number="4000"/>
<syscall name="exit" number="4001"/>
@@ -344,4 +345,90 @@
<syscall name="fanotify_init" number="4336"/>
<syscall name="fanotify_mark" number="4337"/>
<syscall name="prlimit64" number="4338"/>
+ <syscall name="name_to_handle_at" number="4339"/>
+ <syscall name="open_by_handle_at" number="4340"/>
+ <syscall name="clock_adjtime" number="4341"/>
+ <syscall name="syncfs" number="4342"/>
+ <syscall name="sendmmsg" number="4343"/>
+ <syscall name="setns" number="4344"/>
+ <syscall name="process_vm_readv" number="4345"/>
+ <syscall name="process_vm_writev" number="4346"/>
+ <syscall name="kcmp" number="4347"/>
+ <syscall name="finit_module" number="4348"/>
+ <syscall name="sched_setattr" number="4349"/>
+ <syscall name="sched_getattr" number="4350"/>
+ <syscall name="renameat2" number="4351"/>
+ <syscall name="seccomp" number="4352"/>
+ <syscall name="getrandom" number="4353"/>
+ <syscall name="memfd_create" number="4354"/>
+ <syscall name="bpf" number="4355"/>
+ <syscall name="execveat" number="4356"/>
+ <syscall name="userfaultfd" number="4357"/>
+ <syscall name="membarrier" number="4358"/>
+ <syscall name="mlock2" number="4359"/>
+ <syscall name="copy_file_range" number="4360"/>
+ <syscall name="preadv2" number="4361"/>
+ <syscall name="pwritev2" number="4362"/>
+ <syscall name="pkey_mprotect" number="4363"/>
+ <syscall name="pkey_alloc" number="4364"/>
+ <syscall name="pkey_free" number="4365"/>
+ <syscall name="statx" number="4366"/>
+ <syscall name="rseq" number="4367"/>
+ <syscall name="io_pgetevents" number="4368"/>
+ <syscall name="semget" number="4393"/>
+ <syscall name="semctl" number="4394"/>
+ <syscall name="shmget" number="4395"/>
+ <syscall name="shmctl" number="4396"/>
+ <syscall name="shmat" number="4397"/>
+ <syscall name="shmdt" number="4398"/>
+ <syscall name="msgget" number="4399"/>
+ <syscall name="msgsnd" number="4400"/>
+ <syscall name="msgrcv" number="4401"/>
+ <syscall name="msgctl" number="4402"/>
+ <syscall name="clock_gettime64" number="4403"/>
+ <syscall name="clock_settime64" number="4404"/>
+ <syscall name="clock_adjtime64" number="4405"/>
+ <syscall name="clock_getres_time64" number="4406"/>
+ <syscall name="clock_nanosleep_time64" number="4407"/>
+ <syscall name="timer_gettime64" number="4408"/>
+ <syscall name="timer_settime64" number="4409"/>
+ <syscall name="timerfd_gettime64" number="4410"/>
+ <syscall name="timerfd_settime64" number="4411"/>
+ <syscall name="utimensat_time64" number="4412"/>
+ <syscall name="pselect6_time64" number="4413"/>
+ <syscall name="ppoll_time64" number="4414"/>
+ <syscall name="io_pgetevents_time64" number="4416"/>
+ <syscall name="recvmmsg_time64" number="4417"/>
+ <syscall name="mq_timedsend_time64" number="4418"/>
+ <syscall name="mq_timedreceive_time64" number="4419"/>
+ <syscall name="semtimedop_time64" number="4420"/>
+ <syscall name="rt_sigtimedwait_time64" number="4421"/>
+ <syscall name="futex_time64" number="4422"/>
+ <syscall name="sched_rr_get_interval_time64" number="4423"/>
+ <syscall name="pidfd_send_signal" number="4424"/>
+ <syscall name="io_uring_setup" number="4425"/>
+ <syscall name="io_uring_enter" number="4426"/>
+ <syscall name="io_uring_register" number="4427"/>
+ <syscall name="open_tree" number="4428"/>
+ <syscall name="move_mount" number="4429"/>
+ <syscall name="fsopen" number="4430"/>
+ <syscall name="fsconfig" number="4431"/>
+ <syscall name="fsmount" number="4432"/>
+ <syscall name="fspick" number="4433"/>
+ <syscall name="pidfd_open" number="4434"/>
+ <syscall name="clone3" number="4435"/>
+ <syscall name="close_range" number="4436"/>
+ <syscall name="openat2" number="4437"/>
+ <syscall name="pidfd_getfd" number="4438"/>
+ <syscall name="faccessat2" number="4439"/>
+ <syscall name="process_madvise" number="4440"/>
+ <syscall name="epoll_pwait2" number="4441"/>
+ <syscall name="mount_setattr" number="4442"/>
+ <syscall name="quotactl_fd" number="4443"/>
+ <syscall name="landlock_create_ruleset" number="4444"/>
+ <syscall name="landlock_add_rule" number="4445"/>
+ <syscall name="landlock_restrict_self" number="4446"/>
+ <syscall name="process_mrelease" number="4448"/>
+ <syscall name="futex_waitv" number="4449"/>
+ <syscall name="set_mempolicy_home_node" number="4450"/>
</syscalls_info>
diff --git a/gdb/syscalls/ppc-linux.xml b/gdb/syscalls/ppc-linux.xml
index 34ba8bd..967a6cd 100644
--- a/gdb/syscalls/ppc-linux.xml
+++ b/gdb/syscalls/ppc-linux.xml
@@ -7,7 +7,7 @@
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/powerpc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -439,4 +439,7 @@
<syscall name="landlock_create_ruleset" number="444"/>
<syscall name="landlock_add_rule" number="445"/>
<syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/ppc-linux.xml.in b/gdb/syscalls/ppc-linux.xml.in
index 61c7c58..f22f357 100644
--- a/gdb/syscalls/ppc-linux.xml.in
+++ b/gdb/syscalls/ppc-linux.xml.in
@@ -9,7 +9,7 @@
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/powerpc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
@@ -443,4 +443,7 @@
<syscall name="landlock_create_ruleset" number="444"/>
<syscall name="landlock_add_rule" number="445"/>
<syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/ppc64-linux.xml b/gdb/syscalls/ppc64-linux.xml
index 838f73b..8a3e8a2 100644
--- a/gdb/syscalls/ppc64-linux.xml
+++ b/gdb/syscalls/ppc64-linux.xml
@@ -7,7 +7,7 @@
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/powerpc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -411,4 +411,7 @@
<syscall name="landlock_create_ruleset" number="444"/>
<syscall name="landlock_add_rule" number="445"/>
<syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/ppc64-linux.xml.in b/gdb/syscalls/ppc64-linux.xml.in
index 4ed80e0..056cd00 100644
--- a/gdb/syscalls/ppc64-linux.xml.in
+++ b/gdb/syscalls/ppc64-linux.xml.in
@@ -9,7 +9,7 @@
<!-- This file was generated using the following file:
- <sys/syscall.h>
+ arch/powerpc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
@@ -415,4 +415,7 @@
<syscall name="landlock_create_ruleset" number="444"/>
<syscall name="landlock_add_rule" number="445"/>
<syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/s390-linux.xml b/gdb/syscalls/s390-linux.xml
index 12548d0..550dda7 100644
--- a/gdb/syscalls/s390-linux.xml
+++ b/gdb/syscalls/s390-linux.xml
@@ -7,7 +7,7 @@
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
- /usr/include/asm/unistd.h
+ arch/s390/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -316,6 +316,8 @@
<syscall name="pipe2" number="325" groups="descriptor"/>
<syscall name="dup3" number="326" groups="descriptor"/>
<syscall name="epoll_create1" number="327" groups="descriptor"/>
+ <syscall name="preadv" number="328" groups="descriptor"/>
+ <syscall name="pwritev" number="329" groups="descriptor"/>
<syscall name="rt_tgsigqueueinfo" number="330" groups="process,signal"/>
<syscall name="perf_event_open" number="331" groups="descriptor"/>
<syscall name="fanotify_init" number="332" groups="descriptor"/>
@@ -361,4 +363,72 @@
<syscall name="recvmsg" number="372" groups="network"/>
<syscall name="shutdown" number="373" groups="network"/>
<syscall name="mlock2" number="374"/>
+ <syscall name="copy_file_range" number="375"/>
+ <syscall name="preadv2" number="376"/>
+ <syscall name="pwritev2" number="377"/>
+ <syscall name="s390_guarded_storage" number="378"/>
+ <syscall name="statx" number="379"/>
+ <syscall name="s390_sthyi" number="380"/>
+ <syscall name="kexec_file_load" number="381"/>
+ <syscall name="io_pgetevents" number="382"/>
+ <syscall name="rseq" number="383"/>
+ <syscall name="pkey_mprotect" number="384"/>
+ <syscall name="pkey_alloc" number="385"/>
+ <syscall name="pkey_free" number="386"/>
+ <syscall name="semget" number="393" groups="ipc"/>
+ <syscall name="semctl" number="394" groups="ipc"/>
+ <syscall name="shmget" number="395" groups="ipc"/>
+ <syscall name="shmctl" number="396" groups="ipc"/>
+ <syscall name="shmat" number="397" groups="ipc,memory"/>
+ <syscall name="shmdt" number="398" groups="ipc,memory"/>
+ <syscall name="msgget" number="399" groups="ipc"/>
+ <syscall name="msgsnd" number="400" groups="ipc"/>
+ <syscall name="msgrcv" number="401" groups="ipc"/>
+ <syscall name="msgctl" number="402" groups="ipc"/>
+ <syscall name="clock_gettime64" number="403"/>
+ <syscall name="clock_settime64" number="404"/>
+ <syscall name="clock_adjtime64" number="405"/>
+ <syscall name="clock_getres_time64" number="406"/>
+ <syscall name="clock_nanosleep_time64" number="407"/>
+ <syscall name="timer_gettime64" number="408"/>
+ <syscall name="timer_settime64" number="409"/>
+ <syscall name="timerfd_gettime64" number="410"/>
+ <syscall name="timerfd_settime64" number="411"/>
+ <syscall name="utimensat_time64" number="412"/>
+ <syscall name="pselect6_time64" number="413"/>
+ <syscall name="ppoll_time64" number="414"/>
+ <syscall name="io_pgetevents_time64" number="416"/>
+ <syscall name="recvmmsg_time64" number="417"/>
+ <syscall name="mq_timedsend_time64" number="418"/>
+ <syscall name="mq_timedreceive_time64" number="419"/>
+ <syscall name="semtimedop_time64" number="420"/>
+ <syscall name="rt_sigtimedwait_time64" number="421"/>
+ <syscall name="futex_time64" number="422"/>
+ <syscall name="sched_rr_get_interval_time64" number="423"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="clone3" number="435"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/s390-linux.xml.in b/gdb/syscalls/s390-linux.xml.in
index b0732b7..ea23564 100644
--- a/gdb/syscalls/s390-linux.xml.in
+++ b/gdb/syscalls/s390-linux.xml.in
@@ -9,10 +9,11 @@
<!-- This file was generated using the following file:
- /usr/include/asm/unistd.h
+ arch/s390/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
+
<syscalls_info>
<syscall name="exit" number="1"/>
<syscall name="fork" number="2"/>
@@ -319,6 +320,8 @@
<syscall name="pipe2" number="325"/>
<syscall name="dup3" number="326"/>
<syscall name="epoll_create1" number="327"/>
+ <syscall name="preadv" number="328"/>
+ <syscall name="pwritev" number="329"/>
<syscall name="rt_tgsigqueueinfo" number="330"/>
<syscall name="perf_event_open" number="331"/>
<syscall name="fanotify_init" number="332"/>
@@ -364,4 +367,72 @@
<syscall name="recvmsg" number="372"/>
<syscall name="shutdown" number="373"/>
<syscall name="mlock2" number="374"/>
+ <syscall name="copy_file_range" number="375"/>
+ <syscall name="preadv2" number="376"/>
+ <syscall name="pwritev2" number="377"/>
+ <syscall name="s390_guarded_storage" number="378"/>
+ <syscall name="statx" number="379"/>
+ <syscall name="s390_sthyi" number="380"/>
+ <syscall name="kexec_file_load" number="381"/>
+ <syscall name="io_pgetevents" number="382"/>
+ <syscall name="rseq" number="383"/>
+ <syscall name="pkey_mprotect" number="384"/>
+ <syscall name="pkey_alloc" number="385"/>
+ <syscall name="pkey_free" number="386"/>
+ <syscall name="semget" number="393"/>
+ <syscall name="semctl" number="394"/>
+ <syscall name="shmget" number="395"/>
+ <syscall name="shmctl" number="396"/>
+ <syscall name="shmat" number="397"/>
+ <syscall name="shmdt" number="398"/>
+ <syscall name="msgget" number="399"/>
+ <syscall name="msgsnd" number="400"/>
+ <syscall name="msgrcv" number="401"/>
+ <syscall name="msgctl" number="402"/>
+ <syscall name="clock_gettime64" number="403"/>
+ <syscall name="clock_settime64" number="404"/>
+ <syscall name="clock_adjtime64" number="405"/>
+ <syscall name="clock_getres_time64" number="406"/>
+ <syscall name="clock_nanosleep_time64" number="407"/>
+ <syscall name="timer_gettime64" number="408"/>
+ <syscall name="timer_settime64" number="409"/>
+ <syscall name="timerfd_gettime64" number="410"/>
+ <syscall name="timerfd_settime64" number="411"/>
+ <syscall name="utimensat_time64" number="412"/>
+ <syscall name="pselect6_time64" number="413"/>
+ <syscall name="ppoll_time64" number="414"/>
+ <syscall name="io_pgetevents_time64" number="416"/>
+ <syscall name="recvmmsg_time64" number="417"/>
+ <syscall name="mq_timedsend_time64" number="418"/>
+ <syscall name="mq_timedreceive_time64" number="419"/>
+ <syscall name="semtimedop_time64" number="420"/>
+ <syscall name="rt_sigtimedwait_time64" number="421"/>
+ <syscall name="futex_time64" number="422"/>
+ <syscall name="sched_rr_get_interval_time64" number="423"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="clone3" number="435"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/s390x-linux.xml b/gdb/syscalls/s390x-linux.xml
index 1738d4c..511129e 100644
--- a/gdb/syscalls/s390x-linux.xml
+++ b/gdb/syscalls/s390x-linux.xml
@@ -7,7 +7,7 @@
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
- /usr/include/asm/unistd.h
+ arch/s390/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -283,6 +283,8 @@
<syscall name="pipe2" number="325" groups="descriptor"/>
<syscall name="dup3" number="326" groups="descriptor"/>
<syscall name="epoll_create1" number="327" groups="descriptor"/>
+ <syscall name="preadv" number="328" groups="descriptor"/>
+ <syscall name="pwritev" number="329" groups="descriptor"/>
<syscall name="rt_tgsigqueueinfo" number="330" groups="process,signal"/>
<syscall name="perf_event_open" number="331" groups="descriptor"/>
<syscall name="fanotify_init" number="332" groups="descriptor"/>
@@ -328,4 +330,53 @@
<syscall name="recvmsg" number="372" groups="network"/>
<syscall name="shutdown" number="373" groups="network"/>
<syscall name="mlock2" number="374"/>
+ <syscall name="copy_file_range" number="375"/>
+ <syscall name="preadv2" number="376"/>
+ <syscall name="pwritev2" number="377"/>
+ <syscall name="s390_guarded_storage" number="378"/>
+ <syscall name="statx" number="379"/>
+ <syscall name="s390_sthyi" number="380"/>
+ <syscall name="kexec_file_load" number="381"/>
+ <syscall name="io_pgetevents" number="382"/>
+ <syscall name="rseq" number="383"/>
+ <syscall name="pkey_mprotect" number="384"/>
+ <syscall name="pkey_alloc" number="385"/>
+ <syscall name="pkey_free" number="386"/>
+ <syscall name="semtimedop" number="392" groups="ipc"/>
+ <syscall name="semget" number="393" groups="ipc"/>
+ <syscall name="semctl" number="394" groups="ipc"/>
+ <syscall name="shmget" number="395" groups="ipc"/>
+ <syscall name="shmctl" number="396" groups="ipc"/>
+ <syscall name="shmat" number="397" groups="ipc,memory"/>
+ <syscall name="shmdt" number="398" groups="ipc,memory"/>
+ <syscall name="msgget" number="399" groups="ipc"/>
+ <syscall name="msgsnd" number="400" groups="ipc"/>
+ <syscall name="msgrcv" number="401" groups="ipc"/>
+ <syscall name="msgctl" number="402" groups="ipc"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="clone3" number="435"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/s390x-linux.xml.in b/gdb/syscalls/s390x-linux.xml.in
index 8582630..4e3fd3e 100644
--- a/gdb/syscalls/s390x-linux.xml.in
+++ b/gdb/syscalls/s390x-linux.xml.in
@@ -9,10 +9,11 @@
<!-- This file was generated using the following file:
- /usr/include/asm/unistd.h
+ arch/s390/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
+
<syscalls_info>
<syscall name="exit" number="1"/>
<syscall name="fork" number="2"/>
@@ -286,6 +287,8 @@
<syscall name="pipe2" number="325"/>
<syscall name="dup3" number="326"/>
<syscall name="epoll_create1" number="327"/>
+ <syscall name="preadv" number="328"/>
+ <syscall name="pwritev" number="329"/>
<syscall name="rt_tgsigqueueinfo" number="330"/>
<syscall name="perf_event_open" number="331"/>
<syscall name="fanotify_init" number="332"/>
@@ -331,4 +334,53 @@
<syscall name="recvmsg" number="372"/>
<syscall name="shutdown" number="373"/>
<syscall name="mlock2" number="374"/>
+ <syscall name="copy_file_range" number="375"/>
+ <syscall name="preadv2" number="376"/>
+ <syscall name="pwritev2" number="377"/>
+ <syscall name="s390_guarded_storage" number="378"/>
+ <syscall name="statx" number="379"/>
+ <syscall name="s390_sthyi" number="380"/>
+ <syscall name="kexec_file_load" number="381"/>
+ <syscall name="io_pgetevents" number="382"/>
+ <syscall name="rseq" number="383"/>
+ <syscall name="pkey_mprotect" number="384"/>
+ <syscall name="pkey_alloc" number="385"/>
+ <syscall name="pkey_free" number="386"/>
+ <syscall name="semtimedop" number="392"/>
+ <syscall name="semget" number="393"/>
+ <syscall name="semctl" number="394"/>
+ <syscall name="shmget" number="395"/>
+ <syscall name="shmctl" number="396"/>
+ <syscall name="shmat" number="397"/>
+ <syscall name="shmdt" number="398"/>
+ <syscall name="msgget" number="399"/>
+ <syscall name="msgsnd" number="400"/>
+ <syscall name="msgrcv" number="401"/>
+ <syscall name="msgctl" number="402"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="clone3" number="435"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/sparc-linux.xml b/gdb/syscalls/sparc-linux.xml
index 25ceb37..5eaf7a0 100644
--- a/gdb/syscalls/sparc-linux.xml
+++ b/gdb/syscalls/sparc-linux.xml
@@ -6,8 +6,8 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+ arch/sparc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -338,4 +338,96 @@
<syscall name="rt_tgsigqueueinfo" number="326" groups="process,signal"/>
<syscall name="perf_event_open" number="327" groups="descriptor"/>
<syscall name="recvmmsg" number="328" groups="network"/>
+ <syscall name="fanotify_init" number="329" groups="descriptor"/>
+ <syscall name="fanotify_mark" number="330" groups="descriptor,file"/>
+ <syscall name="prlimit64" number="331"/>
+ <syscall name="name_to_handle_at" number="332" groups="descriptor,file"/>
+ <syscall name="open_by_handle_at" number="333" groups="descriptor"/>
+ <syscall name="clock_adjtime" number="334"/>
+ <syscall name="syncfs" number="335" groups="descriptor"/>
+ <syscall name="sendmmsg" number="336" groups="network"/>
+ <syscall name="setns" number="337" groups="descriptor"/>
+ <syscall name="process_vm_readv" number="338"/>
+ <syscall name="process_vm_writev" number="339"/>
+ <syscall name="kern_features" number="340"/>
+ <syscall name="kcmp" number="341"/>
+ <syscall name="finit_module" number="342" groups="descriptor"/>
+ <syscall name="sched_setattr" number="343"/>
+ <syscall name="sched_getattr" number="344"/>
+ <syscall name="renameat2" number="345"/>
+ <syscall name="seccomp" number="346"/>
+ <syscall name="getrandom" number="347"/>
+ <syscall name="memfd_create" number="348"/>
+ <syscall name="bpf" number="349"/>
+ <syscall name="execveat" number="350"/>
+ <syscall name="membarrier" number="351"/>
+ <syscall name="userfaultfd" number="352"/>
+ <syscall name="bind" number="353" groups="network"/>
+ <syscall name="listen" number="354" groups="network"/>
+ <syscall name="setsockopt" number="355" groups="network"/>
+ <syscall name="mlock2" number="356"/>
+ <syscall name="copy_file_range" number="357"/>
+ <syscall name="preadv2" number="358"/>
+ <syscall name="pwritev2" number="359"/>
+ <syscall name="statx" number="360"/>
+ <syscall name="io_pgetevents" number="361"/>
+ <syscall name="pkey_mprotect" number="362"/>
+ <syscall name="pkey_alloc" number="363"/>
+ <syscall name="pkey_free" number="364"/>
+ <syscall name="rseq" number="365"/>
+ <syscall name="semget" number="393" groups="ipc"/>
+ <syscall name="semctl" number="394" groups="ipc"/>
+ <syscall name="shmget" number="395" groups="ipc"/>
+ <syscall name="shmctl" number="396" groups="ipc"/>
+ <syscall name="shmat" number="397" groups="ipc,memory"/>
+ <syscall name="shmdt" number="398" groups="ipc,memory"/>
+ <syscall name="msgget" number="399" groups="ipc"/>
+ <syscall name="msgsnd" number="400" groups="ipc"/>
+ <syscall name="msgrcv" number="401" groups="ipc"/>
+ <syscall name="msgctl" number="402" groups="ipc"/>
+ <syscall name="clock_gettime64" number="403"/>
+ <syscall name="clock_settime64" number="404"/>
+ <syscall name="clock_adjtime64" number="405"/>
+ <syscall name="clock_getres_time64" number="406"/>
+ <syscall name="clock_nanosleep_time64" number="407"/>
+ <syscall name="timer_gettime64" number="408"/>
+ <syscall name="timer_settime64" number="409"/>
+ <syscall name="timerfd_gettime64" number="410"/>
+ <syscall name="timerfd_settime64" number="411"/>
+ <syscall name="utimensat_time64" number="412"/>
+ <syscall name="pselect6_time64" number="413"/>
+ <syscall name="ppoll_time64" number="414"/>
+ <syscall name="io_pgetevents_time64" number="416"/>
+ <syscall name="recvmmsg_time64" number="417"/>
+ <syscall name="mq_timedsend_time64" number="418"/>
+ <syscall name="mq_timedreceive_time64" number="419"/>
+ <syscall name="semtimedop_time64" number="420"/>
+ <syscall name="rt_sigtimedwait_time64" number="421"/>
+ <syscall name="futex_time64" number="422"/>
+ <syscall name="sched_rr_get_interval_time64" number="423"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/sparc-linux.xml.in b/gdb/syscalls/sparc-linux.xml.in
index 81afb6d..3d7053c 100644
--- a/gdb/syscalls/sparc-linux.xml.in
+++ b/gdb/syscalls/sparc-linux.xml.in
@@ -8,11 +8,12 @@
<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+ arch/sparc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
+
<syscalls_info>
<syscall name="restart_syscall" number="0"/>
<syscall name="exit" number="1"/>
@@ -27,7 +28,7 @@
<syscall name="unlink" number="10"/>
<syscall name="execv" number="11"/>
<syscall name="chdir" number="12"/>
- <syscall name="chown" number="13"/>
+ <syscall name="chown" number="13"/>
<syscall name="mknod" number="14"/>
<syscall name="chmod" number="15"/>
<syscall name="lchown" number="16"/>
@@ -341,4 +342,96 @@
<syscall name="rt_tgsigqueueinfo" number="326"/>
<syscall name="perf_event_open" number="327"/>
<syscall name="recvmmsg" number="328"/>
+ <syscall name="fanotify_init" number="329"/>
+ <syscall name="fanotify_mark" number="330"/>
+ <syscall name="prlimit64" number="331"/>
+ <syscall name="name_to_handle_at" number="332"/>
+ <syscall name="open_by_handle_at" number="333"/>
+ <syscall name="clock_adjtime" number="334"/>
+ <syscall name="syncfs" number="335"/>
+ <syscall name="sendmmsg" number="336"/>
+ <syscall name="setns" number="337"/>
+ <syscall name="process_vm_readv" number="338"/>
+ <syscall name="process_vm_writev" number="339"/>
+ <syscall name="kern_features" number="340"/>
+ <syscall name="kcmp" number="341"/>
+ <syscall name="finit_module" number="342"/>
+ <syscall name="sched_setattr" number="343"/>
+ <syscall name="sched_getattr" number="344"/>
+ <syscall name="renameat2" number="345"/>
+ <syscall name="seccomp" number="346"/>
+ <syscall name="getrandom" number="347"/>
+ <syscall name="memfd_create" number="348"/>
+ <syscall name="bpf" number="349"/>
+ <syscall name="execveat" number="350"/>
+ <syscall name="membarrier" number="351"/>
+ <syscall name="userfaultfd" number="352"/>
+ <syscall name="bind" number="353"/>
+ <syscall name="listen" number="354"/>
+ <syscall name="setsockopt" number="355"/>
+ <syscall name="mlock2" number="356"/>
+ <syscall name="copy_file_range" number="357"/>
+ <syscall name="preadv2" number="358"/>
+ <syscall name="pwritev2" number="359"/>
+ <syscall name="statx" number="360"/>
+ <syscall name="io_pgetevents" number="361"/>
+ <syscall name="pkey_mprotect" number="362"/>
+ <syscall name="pkey_alloc" number="363"/>
+ <syscall name="pkey_free" number="364"/>
+ <syscall name="rseq" number="365"/>
+ <syscall name="semget" number="393"/>
+ <syscall name="semctl" number="394"/>
+ <syscall name="shmget" number="395"/>
+ <syscall name="shmctl" number="396"/>
+ <syscall name="shmat" number="397"/>
+ <syscall name="shmdt" number="398"/>
+ <syscall name="msgget" number="399"/>
+ <syscall name="msgsnd" number="400"/>
+ <syscall name="msgrcv" number="401"/>
+ <syscall name="msgctl" number="402"/>
+ <syscall name="clock_gettime64" number="403"/>
+ <syscall name="clock_settime64" number="404"/>
+ <syscall name="clock_adjtime64" number="405"/>
+ <syscall name="clock_getres_time64" number="406"/>
+ <syscall name="clock_nanosleep_time64" number="407"/>
+ <syscall name="timer_gettime64" number="408"/>
+ <syscall name="timer_settime64" number="409"/>
+ <syscall name="timerfd_gettime64" number="410"/>
+ <syscall name="timerfd_settime64" number="411"/>
+ <syscall name="utimensat_time64" number="412"/>
+ <syscall name="pselect6_time64" number="413"/>
+ <syscall name="ppoll_time64" number="414"/>
+ <syscall name="io_pgetevents_time64" number="416"/>
+ <syscall name="recvmmsg_time64" number="417"/>
+ <syscall name="mq_timedsend_time64" number="418"/>
+ <syscall name="mq_timedreceive_time64" number="419"/>
+ <syscall name="semtimedop_time64" number="420"/>
+ <syscall name="rt_sigtimedwait_time64" number="421"/>
+ <syscall name="futex_time64" number="422"/>
+ <syscall name="sched_rr_get_interval_time64" number="423"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/sparc64-linux.xml b/gdb/syscalls/sparc64-linux.xml
index c2e9fad..66a9bbf 100644
--- a/gdb/syscalls/sparc64-linux.xml
+++ b/gdb/syscalls/sparc64-linux.xml
@@ -6,8 +6,8 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+ arch/sparc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
<syscalls_info>
@@ -320,4 +320,77 @@
<syscall name="rt_tgsigqueueinfo" number="326" groups="process,signal"/>
<syscall name="perf_event_open" number="327" groups="descriptor"/>
<syscall name="recvmmsg" number="328" groups="network"/>
+ <syscall name="fanotify_init" number="329" groups="descriptor"/>
+ <syscall name="fanotify_mark" number="330" groups="descriptor,file"/>
+ <syscall name="prlimit64" number="331"/>
+ <syscall name="name_to_handle_at" number="332" groups="descriptor,file"/>
+ <syscall name="open_by_handle_at" number="333" groups="descriptor"/>
+ <syscall name="clock_adjtime" number="334"/>
+ <syscall name="syncfs" number="335" groups="descriptor"/>
+ <syscall name="sendmmsg" number="336" groups="network"/>
+ <syscall name="setns" number="337" groups="descriptor"/>
+ <syscall name="process_vm_readv" number="338"/>
+ <syscall name="process_vm_writev" number="339"/>
+ <syscall name="kern_features" number="340"/>
+ <syscall name="kcmp" number="341"/>
+ <syscall name="finit_module" number="342" groups="descriptor"/>
+ <syscall name="sched_setattr" number="343"/>
+ <syscall name="sched_getattr" number="344"/>
+ <syscall name="renameat2" number="345"/>
+ <syscall name="seccomp" number="346"/>
+ <syscall name="getrandom" number="347"/>
+ <syscall name="memfd_create" number="348"/>
+ <syscall name="bpf" number="349"/>
+ <syscall name="execveat" number="350"/>
+ <syscall name="membarrier" number="351"/>
+ <syscall name="userfaultfd" number="352"/>
+ <syscall name="bind" number="353" groups="network"/>
+ <syscall name="listen" number="354" groups="network"/>
+ <syscall name="setsockopt" number="355" groups="network"/>
+ <syscall name="mlock2" number="356"/>
+ <syscall name="copy_file_range" number="357"/>
+ <syscall name="preadv2" number="358"/>
+ <syscall name="pwritev2" number="359"/>
+ <syscall name="statx" number="360"/>
+ <syscall name="io_pgetevents" number="361"/>
+ <syscall name="pkey_mprotect" number="362"/>
+ <syscall name="pkey_alloc" number="363"/>
+ <syscall name="pkey_free" number="364"/>
+ <syscall name="rseq" number="365"/>
+ <syscall name="semtimedop" number="392" groups="ipc"/>
+ <syscall name="semget" number="393" groups="ipc"/>
+ <syscall name="semctl" number="394" groups="ipc"/>
+ <syscall name="shmget" number="395" groups="ipc"/>
+ <syscall name="shmctl" number="396" groups="ipc"/>
+ <syscall name="shmat" number="397" groups="ipc,memory"/>
+ <syscall name="shmdt" number="398" groups="ipc,memory"/>
+ <syscall name="msgget" number="399" groups="ipc"/>
+ <syscall name="msgsnd" number="400" groups="ipc"/>
+ <syscall name="msgrcv" number="401" groups="ipc"/>
+ <syscall name="msgctl" number="402" groups="ipc"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/sparc64-linux.xml.in b/gdb/syscalls/sparc64-linux.xml.in
index 15bb84a..8b3f08d 100644
--- a/gdb/syscalls/sparc64-linux.xml.in
+++ b/gdb/syscalls/sparc64-linux.xml.in
@@ -8,11 +8,12 @@
<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
<!-- This file was generated using the following file:
-
- /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+ arch/sparc/kernel/syscalls/syscall.tbl
The file mentioned above belongs to the Linux Kernel. -->
+
<syscalls_info>
<syscall name="restart_syscall" number="0"/>
<syscall name="exit" number="1"/>
@@ -27,7 +28,7 @@
<syscall name="unlink" number="10"/>
<syscall name="execv" number="11"/>
<syscall name="chdir" number="12"/>
- <syscall name="chown" number="13"/>
+ <syscall name="chown" number="13"/>
<syscall name="mknod" number="14"/>
<syscall name="chmod" number="15"/>
<syscall name="lchown" number="16"/>
@@ -323,4 +324,77 @@
<syscall name="rt_tgsigqueueinfo" number="326"/>
<syscall name="perf_event_open" number="327"/>
<syscall name="recvmmsg" number="328"/>
+ <syscall name="fanotify_init" number="329"/>
+ <syscall name="fanotify_mark" number="330"/>
+ <syscall name="prlimit64" number="331"/>
+ <syscall name="name_to_handle_at" number="332"/>
+ <syscall name="open_by_handle_at" number="333"/>
+ <syscall name="clock_adjtime" number="334"/>
+ <syscall name="syncfs" number="335"/>
+ <syscall name="sendmmsg" number="336"/>
+ <syscall name="setns" number="337"/>
+ <syscall name="process_vm_readv" number="338"/>
+ <syscall name="process_vm_writev" number="339"/>
+ <syscall name="kern_features" number="340"/>
+ <syscall name="kcmp" number="341"/>
+ <syscall name="finit_module" number="342"/>
+ <syscall name="sched_setattr" number="343"/>
+ <syscall name="sched_getattr" number="344"/>
+ <syscall name="renameat2" number="345"/>
+ <syscall name="seccomp" number="346"/>
+ <syscall name="getrandom" number="347"/>
+ <syscall name="memfd_create" number="348"/>
+ <syscall name="bpf" number="349"/>
+ <syscall name="execveat" number="350"/>
+ <syscall name="membarrier" number="351"/>
+ <syscall name="userfaultfd" number="352"/>
+ <syscall name="bind" number="353"/>
+ <syscall name="listen" number="354"/>
+ <syscall name="setsockopt" number="355"/>
+ <syscall name="mlock2" number="356"/>
+ <syscall name="copy_file_range" number="357"/>
+ <syscall name="preadv2" number="358"/>
+ <syscall name="pwritev2" number="359"/>
+ <syscall name="statx" number="360"/>
+ <syscall name="io_pgetevents" number="361"/>
+ <syscall name="pkey_mprotect" number="362"/>
+ <syscall name="pkey_alloc" number="363"/>
+ <syscall name="pkey_free" number="364"/>
+ <syscall name="rseq" number="365"/>
+ <syscall name="semtimedop" number="392"/>
+ <syscall name="semget" number="393"/>
+ <syscall name="semctl" number="394"/>
+ <syscall name="shmget" number="395"/>
+ <syscall name="shmctl" number="396"/>
+ <syscall name="shmat" number="397"/>
+ <syscall name="shmdt" number="398"/>
+ <syscall name="msgget" number="399"/>
+ <syscall name="msgsnd" number="400"/>
+ <syscall name="msgrcv" number="401"/>
+ <syscall name="msgctl" number="402"/>
+ <syscall name="pidfd_send_signal" number="424"/>
+ <syscall name="io_uring_setup" number="425"/>
+ <syscall name="io_uring_enter" number="426"/>
+ <syscall name="io_uring_register" number="427"/>
+ <syscall name="open_tree" number="428"/>
+ <syscall name="move_mount" number="429"/>
+ <syscall name="fsopen" number="430"/>
+ <syscall name="fsconfig" number="431"/>
+ <syscall name="fsmount" number="432"/>
+ <syscall name="fspick" number="433"/>
+ <syscall name="pidfd_open" number="434"/>
+ <syscall name="close_range" number="436"/>
+ <syscall name="openat2" number="437"/>
+ <syscall name="pidfd_getfd" number="438"/>
+ <syscall name="faccessat2" number="439"/>
+ <syscall name="process_madvise" number="440"/>
+ <syscall name="epoll_pwait2" number="441"/>
+ <syscall name="mount_setattr" number="442"/>
+ <syscall name="quotactl_fd" number="443"/>
+ <syscall name="landlock_create_ruleset" number="444"/>
+ <syscall name="landlock_add_rule" number="445"/>
+ <syscall name="landlock_restrict_self" number="446"/>
+ <syscall name="process_mrelease" number="448"/>
+ <syscall name="futex_waitv" number="449"/>
+ <syscall name="set_mempolicy_home_node" number="450"/>
</syscalls_info>
diff --git a/gdb/syscalls/update-linux-from-src.sh b/gdb/syscalls/update-linux-from-src.sh
new file mode 100755
index 0000000..c85f9df
--- /dev/null
+++ b/gdb/syscalls/update-linux-from-src.sh
@@ -0,0 +1,169 @@
+#!/bin/sh
+
+# Copyright (C) 2022 Free Software Foundation, Inc.
+#
+# This file is part of GDB.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Used to generate .xml.in files, like so:
+# $ ./update-linux-from-src.sh ~/linux-stable.git
+
+if [ $# -lt 1 ]; then
+ echo "dir argument needed"
+ exit 1
+fi
+
+d="$1"
+shift
+
+if [ ! -d "$d" ]; then
+ echo "cannot find $d"
+ exit 1
+fi
+
+pre ()
+{
+ f="$1"
+
+ year=$(date +%Y)
+
+ cat <<EOF
+<?xml version="1.0"?>
+<!-- Copyright (C) $start_date-$year Free Software Foundation, Inc.
+
+ Copying and distribution of this file, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved. -->
+
+<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
+
+<!-- This file was generated using the following file:
+
+ $f
+
+ The file mentioned above belongs to the Linux Kernel. -->
+
+
+EOF
+
+ echo '<syscalls_info>'
+}
+
+
+post ()
+{
+ echo '</syscalls_info>'
+}
+
+one ()
+{
+ f="$1"
+ abi="$2"
+ start_date="$3"
+ offset="$4"
+
+ pre "$f" "$start_date"
+
+ grep -v "^#" "$d/$f" \
+ | awk '{print $2, $3, $1}' \
+ | grep -E "^$abi" \
+ | grep -E -v " (reserved|unused)[0-9]+ " \
+ | awk "{printf \" <syscall name=\\\"%s\\\" number=\\\"%s\\\"/>\n\", \$2, \$3 + $offset}"
+
+ post
+}
+
+for f in *.in; do
+ start_date=2009
+ offset=0
+
+ case $f in
+ amd64-linux.xml.in)
+ t="arch/x86/entry/syscalls/syscall_64.tbl"
+ abi="(common|64)"
+ ;;
+ i386-linux.xml.in)
+ t="arch/x86/entry/syscalls/syscall_32.tbl"
+ abi=i386
+ ;;
+ ppc64-linux.xml.in)
+ t="arch/powerpc/kernel/syscalls/syscall.tbl"
+ abi="(common|64|nospu)"
+ ;;
+ ppc-linux.xml.in)
+ t="arch/powerpc/kernel/syscalls/syscall.tbl"
+ abi="(common|32|nospu)"
+ ;;
+ s390-linux.xml.in)
+ t="arch/s390/kernel/syscalls/syscall.tbl"
+ abi="(common|32)"
+ ;;
+ s390x-linux.xml.in)
+ t="arch/s390/kernel/syscalls/syscall.tbl"
+ abi="(common|64)"
+ ;;
+ sparc64-linux.xml.in)
+ t="arch/sparc/kernel/syscalls/syscall.tbl"
+ abi="(common|64)"
+ start_date="2010"
+ ;;
+ sparc-linux.xml.in)
+ t="arch/sparc/kernel/syscalls/syscall.tbl"
+ abi="(common|32)"
+ start_date="2010"
+ ;;
+ mips-n32-linux.xml.in)
+ t="arch/mips/kernel/syscalls/syscall_n32.tbl"
+ abi="n32"
+ start_date="2011"
+ offset=6000
+ ;;
+ mips-n64-linux.xml.in)
+ t="arch/mips/kernel/syscalls/syscall_n64.tbl"
+ abi="n64"
+ start_date="2011"
+ offset=5000
+ ;;
+ mips-o32-linux.xml.in)
+ t="arch/mips/kernel/syscalls/syscall_o32.tbl"
+ abi="o32"
+ start_date="2011"
+ offset=4000
+ ;;
+ bfin-linux.xml.in)
+ echo "Skipping $f, no longer supported"
+ continue
+ ;;
+ aarch64-linux.xml.in)
+ echo "Skipping $f, no syscall.tbl"
+ continue
+ ;;
+ arm-linux.xml.in)
+ echo "Skipping $f, use arm-linux.py instead"
+ continue
+ ;;
+ linux-defaults.xml.in)
+ continue
+ ;;
+ *)
+ echo "Don't know how to generate $f"
+ continue
+ ;;
+ esac
+
+ echo "Generating $f"
+ one "$t" "$abi" "$start_date" "$offset" > "$f"
+
+done