[gdb/tdep] Update syscalls/{ppc64,ppc}-linux.xml
authorTom de Vries <tdevries@suse.de>
Wed, 11 May 2022 07:46:23 +0000 (09:46 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 11 May 2022 07:46:23 +0000 (09:46 +0200)
Regenerate syscalls/{ppc64,ppc}-linux.xml on a system with 5.14 kernel.

gdb/syscalls/ppc-linux.xml
gdb/syscalls/ppc-linux.xml.in
gdb/syscalls/ppc64-linux.xml
gdb/syscalls/ppc64-linux.xml.in
gdb/testsuite/gdb.base/catch-syscall.exp

index 328b889839a1e1ee21f00b41d6f5300951c900c7..34ba8bd4e491d0c83327c19245e32339bc64bff9 100644 (file)
@@ -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/powerpc/include/asm/unistd.h
+
+     <sys/syscall.h>
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="fadvise64_64" number="254" groups="descriptor"/>
   <syscall name="rtas" number="255"/>
   <syscall name="sys_debug_setcontext" number="256"/>
+  <syscall name="migrate_pages" number="258" groups="memory"/>
   <syscall name="mbind" number="259" groups="memory"/>
   <syscall name="get_mempolicy" number="260" groups="memory"/>
   <syscall name="set_mempolicy" number="261" groups="memory"/>
   <syscall name="pselect6" number="280" groups="descriptor"/>
   <syscall name="ppoll" number="281" groups="descriptor"/>
   <syscall name="unshare" number="282" groups="process"/>
+  <syscall name="splice" number="283" groups="descriptor"/>
+  <syscall name="tee" number="284" groups="descriptor"/>
+  <syscall name="vmsplice" number="285" groups="descriptor"/>
   <syscall name="openat" number="286" groups="descriptor,file"/>
   <syscall name="mkdirat" number="287" groups="descriptor,file"/>
   <syscall name="mknodat" number="288" groups="descriptor,file"/>
   <syscall name="readlinkat" number="296" groups="descriptor,file"/>
   <syscall name="fchmodat" number="297" groups="descriptor,file"/>
   <syscall name="faccessat" number="298" groups="descriptor,file"/>
+  <syscall name="get_robust_list" number="299"/>
+  <syscall name="set_robust_list" number="300"/>
+  <syscall name="move_pages" number="301" groups="memory"/>
+  <syscall name="getcpu" number="302"/>
+  <syscall name="epoll_pwait" number="303" groups="descriptor"/>
+  <syscall name="utimensat" number="304" groups="descriptor,file"/>
+  <syscall name="signalfd" number="305" groups="descriptor,signal"/>
+  <syscall name="timerfd_create" number="306" groups="descriptor"/>
+  <syscall name="eventfd" number="307" groups="descriptor"/>
+  <syscall name="sync_file_range2" number="308"/>
+  <syscall name="fallocate" number="309" groups="descriptor"/>
+  <syscall name="subpage_prot" number="310"/>
+  <syscall name="timerfd_settime" number="311" groups="descriptor"/>
+  <syscall name="timerfd_gettime" number="312" groups="descriptor"/>
+  <syscall name="signalfd4" number="313" groups="descriptor,signal"/>
+  <syscall name="eventfd2" number="314" groups="descriptor"/>
+  <syscall name="epoll_create1" number="315" groups="descriptor"/>
+  <syscall name="dup3" number="316" groups="descriptor"/>
+  <syscall name="pipe2" number="317" groups="descriptor"/>
+  <syscall name="inotify_init1" number="318" groups="descriptor"/>
+  <syscall name="perf_event_open" number="319" groups="descriptor"/>
+  <syscall name="preadv" number="320" groups="descriptor"/>
+  <syscall name="pwritev" number="321" groups="descriptor"/>
+  <syscall name="rt_tgsigqueueinfo" number="322" groups="process,signal"/>
+  <syscall name="fanotify_init" number="323" groups="descriptor"/>
+  <syscall name="fanotify_mark" number="324" groups="descriptor,file"/>
+  <syscall name="prlimit64" number="325"/>
+  <syscall name="socket" number="326" groups="network"/>
+  <syscall name="bind" number="327" groups="network"/>
+  <syscall name="connect" number="328" groups="network"/>
+  <syscall name="listen" number="329" groups="network"/>
+  <syscall name="accept" number="330" groups="network"/>
+  <syscall name="getsockname" number="331" groups="network"/>
+  <syscall name="getpeername" number="332" groups="network"/>
+  <syscall name="socketpair" number="333" groups="network"/>
+  <syscall name="send" number="334" groups="network"/>
+  <syscall name="sendto" number="335" groups="network"/>
+  <syscall name="recv" number="336" groups="network"/>
+  <syscall name="recvfrom" number="337" groups="network"/>
+  <syscall name="shutdown" number="338" groups="network"/>
+  <syscall name="setsockopt" number="339" groups="network"/>
+  <syscall name="getsockopt" number="340" groups="network"/>
+  <syscall name="sendmsg" number="341" groups="network"/>
+  <syscall name="recvmsg" number="342" groups="network"/>
+  <syscall name="recvmmsg" number="343" groups="network"/>
+  <syscall name="accept4" number="344" groups="network"/>
+  <syscall name="name_to_handle_at" number="345" groups="descriptor,file"/>
+  <syscall name="open_by_handle_at" number="346" groups="descriptor"/>
+  <syscall name="clock_adjtime" number="347"/>
+  <syscall name="syncfs" number="348" groups="descriptor"/>
+  <syscall name="sendmmsg" number="349" groups="network"/>
+  <syscall name="setns" number="350" groups="descriptor"/>
+  <syscall name="process_vm_readv" number="351"/>
+  <syscall name="process_vm_writev" number="352"/>
+  <syscall name="finit_module" number="353" groups="descriptor"/>
+  <syscall name="kcmp" number="354"/>
+  <syscall name="sched_setattr" number="355"/>
+  <syscall name="sched_getattr" number="356"/>
+  <syscall name="renameat2" number="357"/>
+  <syscall name="seccomp" number="358"/>
+  <syscall name="getrandom" number="359"/>
+  <syscall name="memfd_create" number="360"/>
+  <syscall name="bpf" number="361"/>
+  <syscall name="execveat" number="362"/>
+  <syscall name="switch_endian" number="363"/>
+  <syscall name="userfaultfd" number="364"/>
+  <syscall name="membarrier" number="365"/>
+  <syscall name="mlock2" number="378"/>
+  <syscall name="copy_file_range" number="379"/>
+  <syscall name="preadv2" number="380"/>
+  <syscall name="pwritev2" number="381"/>
+  <syscall name="kexec_file_load" number="382"/>
+  <syscall name="statx" number="383"/>
+  <syscall name="pkey_alloc" number="384"/>
+  <syscall name="pkey_free" number="385"/>
+  <syscall name="pkey_mprotect" number="386"/>
+  <syscall name="rseq" number="387"/>
+  <syscall name="io_pgetevents" number="388"/>
+  <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"/>
 </syscalls_info>
index 0c1003e311b544eb25893d38034702e4395193d7..61c7c585453672b889363983bc06c4e2a5652c42 100644 (file)
@@ -8,11 +8,12 @@
 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
 
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/powerpc/include/asm/unistd.h
+
+     <sys/syscall.h>
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="restart_syscall" number="0"/>
   <syscall name="exit" number="1"/>
   <syscall name="fadvise64_64" number="254"/>
   <syscall name="rtas" number="255"/>
   <syscall name="sys_debug_setcontext" number="256"/>
+  <syscall name="migrate_pages" number="258"/>
   <syscall name="mbind" number="259"/>
   <syscall name="get_mempolicy" number="260"/>
   <syscall name="set_mempolicy" number="261"/>
   <syscall name="pselect6" number="280"/>
   <syscall name="ppoll" number="281"/>
   <syscall name="unshare" number="282"/>
+  <syscall name="splice" number="283"/>
+  <syscall name="tee" number="284"/>
+  <syscall name="vmsplice" number="285"/>
   <syscall name="openat" number="286"/>
   <syscall name="mkdirat" number="287"/>
   <syscall name="mknodat" number="288"/>
   <syscall name="readlinkat" number="296"/>
   <syscall name="fchmodat" number="297"/>
   <syscall name="faccessat" number="298"/>
+  <syscall name="get_robust_list" number="299"/>
+  <syscall name="set_robust_list" number="300"/>
+  <syscall name="move_pages" number="301"/>
+  <syscall name="getcpu" number="302"/>
+  <syscall name="epoll_pwait" number="303"/>
+  <syscall name="utimensat" number="304"/>
+  <syscall name="signalfd" number="305"/>
+  <syscall name="timerfd_create" number="306"/>
+  <syscall name="eventfd" number="307"/>
+  <syscall name="sync_file_range2" number="308"/>
+  <syscall name="fallocate" number="309"/>
+  <syscall name="subpage_prot" number="310"/>
+  <syscall name="timerfd_settime" number="311"/>
+  <syscall name="timerfd_gettime" number="312"/>
+  <syscall name="signalfd4" number="313"/>
+  <syscall name="eventfd2" number="314"/>
+  <syscall name="epoll_create1" number="315"/>
+  <syscall name="dup3" number="316"/>
+  <syscall name="pipe2" number="317"/>
+  <syscall name="inotify_init1" number="318"/>
+  <syscall name="perf_event_open" number="319"/>
+  <syscall name="preadv" number="320"/>
+  <syscall name="pwritev" number="321"/>
+  <syscall name="rt_tgsigqueueinfo" number="322"/>
+  <syscall name="fanotify_init" number="323"/>
+  <syscall name="fanotify_mark" number="324"/>
+  <syscall name="prlimit64" number="325"/>
+  <syscall name="socket" number="326"/>
+  <syscall name="bind" number="327"/>
+  <syscall name="connect" number="328"/>
+  <syscall name="listen" number="329"/>
+  <syscall name="accept" number="330"/>
+  <syscall name="getsockname" number="331"/>
+  <syscall name="getpeername" number="332"/>
+  <syscall name="socketpair" number="333"/>
+  <syscall name="send" number="334"/>
+  <syscall name="sendto" number="335"/>
+  <syscall name="recv" number="336"/>
+  <syscall name="recvfrom" number="337"/>
+  <syscall name="shutdown" number="338"/>
+  <syscall name="setsockopt" number="339"/>
+  <syscall name="getsockopt" number="340"/>
+  <syscall name="sendmsg" number="341"/>
+  <syscall name="recvmsg" number="342"/>
+  <syscall name="recvmmsg" number="343"/>
+  <syscall name="accept4" number="344"/>
+  <syscall name="name_to_handle_at" number="345"/>
+  <syscall name="open_by_handle_at" number="346"/>
+  <syscall name="clock_adjtime" number="347"/>
+  <syscall name="syncfs" number="348"/>
+  <syscall name="sendmmsg" number="349"/>
+  <syscall name="setns" number="350"/>
+  <syscall name="process_vm_readv" number="351"/>
+  <syscall name="process_vm_writev" number="352"/>
+  <syscall name="finit_module" number="353"/>
+  <syscall name="kcmp" number="354"/>
+  <syscall name="sched_setattr" number="355"/>
+  <syscall name="sched_getattr" number="356"/>
+  <syscall name="renameat2" number="357"/>
+  <syscall name="seccomp" number="358"/>
+  <syscall name="getrandom" number="359"/>
+  <syscall name="memfd_create" number="360"/>
+  <syscall name="bpf" number="361"/>
+  <syscall name="execveat" number="362"/>
+  <syscall name="switch_endian" number="363"/>
+  <syscall name="userfaultfd" number="364"/>
+  <syscall name="membarrier" number="365"/>
+  <syscall name="mlock2" number="378"/>
+  <syscall name="copy_file_range" number="379"/>
+  <syscall name="preadv2" number="380"/>
+  <syscall name="pwritev2" number="381"/>
+  <syscall name="kexec_file_load" number="382"/>
+  <syscall name="statx" number="383"/>
+  <syscall name="pkey_alloc" number="384"/>
+  <syscall name="pkey_free" number="385"/>
+  <syscall name="pkey_mprotect" number="386"/>
+  <syscall name="rseq" number="387"/>
+  <syscall name="io_pgetevents" number="388"/>
+  <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"/>
 </syscalls_info>
index 2e46cac068445d124576a1456b5d6313c129e4bf..838f73bc25e714bb95b7988712e85589e464bd48 100644 (file)
@@ -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/powerpc/include/asm/unistd.h
+
+     <sys/syscall.h>
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="fstatfs64" number="253" groups="descriptor"/>
   <syscall name="rtas" number="255"/>
   <syscall name="sys_debug_setcontext" number="256"/>
+  <syscall name="migrate_pages" number="258" groups="memory"/>
   <syscall name="mbind" number="259" groups="memory"/>
   <syscall name="get_mempolicy" number="260" groups="memory"/>
   <syscall name="set_mempolicy" number="261" groups="memory"/>
   <syscall name="pselect6" number="280" groups="descriptor"/>
   <syscall name="ppoll" number="281" groups="descriptor"/>
   <syscall name="unshare" number="282" groups="process"/>
-  <syscall name="unlinkat" number="286" groups="descriptor,file"/>
-  <syscall name="renameat" number="287" groups="descriptor,file"/>
-  <syscall name="linkat" number="288" groups="descriptor,file"/>
-  <syscall name="symlinkat" number="289" groups="descriptor,file"/>
-  <syscall name="readlinkat" number="290" groups="descriptor,file"/>
-  <syscall name="fchmodat" number="291" groups="descriptor,file"/>
-  <syscall name="faccessat" number="292" groups="descriptor,file"/>
+  <syscall name="splice" number="283" groups="descriptor"/>
+  <syscall name="tee" number="284" groups="descriptor"/>
+  <syscall name="vmsplice" number="285" groups="descriptor"/>
+  <syscall name="openat" number="286" groups="descriptor,file"/>
+  <syscall name="mkdirat" number="287" groups="descriptor,file"/>
+  <syscall name="mknodat" number="288" groups="descriptor,file"/>
+  <syscall name="fchownat" number="289" groups="descriptor,file"/>
+  <syscall name="futimesat" number="290" groups="descriptor,file"/>
+  <syscall name="newfstatat" number="291" groups="descriptor,file"/>
+  <syscall name="unlinkat" number="292" groups="descriptor,file"/>
+  <syscall name="renameat" number="293" groups="descriptor,file"/>
+  <syscall name="linkat" number="294" groups="descriptor,file"/>
+  <syscall name="symlinkat" number="295" groups="descriptor,file"/>
+  <syscall name="readlinkat" number="296" groups="descriptor,file"/>
+  <syscall name="fchmodat" number="297" groups="descriptor,file"/>
+  <syscall name="faccessat" number="298" groups="descriptor,file"/>
+  <syscall name="get_robust_list" number="299"/>
+  <syscall name="set_robust_list" number="300"/>
+  <syscall name="move_pages" number="301" groups="memory"/>
+  <syscall name="getcpu" number="302"/>
+  <syscall name="epoll_pwait" number="303" groups="descriptor"/>
+  <syscall name="utimensat" number="304" groups="descriptor,file"/>
+  <syscall name="signalfd" number="305" groups="descriptor,signal"/>
+  <syscall name="timerfd_create" number="306" groups="descriptor"/>
+  <syscall name="eventfd" number="307" groups="descriptor"/>
+  <syscall name="sync_file_range2" number="308"/>
+  <syscall name="fallocate" number="309" groups="descriptor"/>
+  <syscall name="subpage_prot" number="310"/>
+  <syscall name="timerfd_settime" number="311" groups="descriptor"/>
+  <syscall name="timerfd_gettime" number="312" groups="descriptor"/>
+  <syscall name="signalfd4" number="313" groups="descriptor,signal"/>
+  <syscall name="eventfd2" number="314" groups="descriptor"/>
+  <syscall name="epoll_create1" number="315" groups="descriptor"/>
+  <syscall name="dup3" number="316" groups="descriptor"/>
+  <syscall name="pipe2" number="317" groups="descriptor"/>
+  <syscall name="inotify_init1" number="318" groups="descriptor"/>
+  <syscall name="perf_event_open" number="319" groups="descriptor"/>
+  <syscall name="preadv" number="320" groups="descriptor"/>
+  <syscall name="pwritev" number="321" groups="descriptor"/>
+  <syscall name="rt_tgsigqueueinfo" number="322" groups="process,signal"/>
+  <syscall name="fanotify_init" number="323" groups="descriptor"/>
+  <syscall name="fanotify_mark" number="324" groups="descriptor,file"/>
+  <syscall name="prlimit64" number="325"/>
+  <syscall name="socket" number="326" groups="network"/>
+  <syscall name="bind" number="327" groups="network"/>
+  <syscall name="connect" number="328" groups="network"/>
+  <syscall name="listen" number="329" groups="network"/>
+  <syscall name="accept" number="330" groups="network"/>
+  <syscall name="getsockname" number="331" groups="network"/>
+  <syscall name="getpeername" number="332" groups="network"/>
+  <syscall name="socketpair" number="333" groups="network"/>
+  <syscall name="send" number="334" groups="network"/>
+  <syscall name="sendto" number="335" groups="network"/>
+  <syscall name="recv" number="336" groups="network"/>
+  <syscall name="recvfrom" number="337" groups="network"/>
+  <syscall name="shutdown" number="338" groups="network"/>
+  <syscall name="setsockopt" number="339" groups="network"/>
+  <syscall name="getsockopt" number="340" groups="network"/>
+  <syscall name="sendmsg" number="341" groups="network"/>
+  <syscall name="recvmsg" number="342" groups="network"/>
+  <syscall name="recvmmsg" number="343" groups="network"/>
+  <syscall name="accept4" number="344" groups="network"/>
+  <syscall name="name_to_handle_at" number="345" groups="descriptor,file"/>
+  <syscall name="open_by_handle_at" number="346" groups="descriptor"/>
+  <syscall name="clock_adjtime" number="347"/>
+  <syscall name="syncfs" number="348" groups="descriptor"/>
+  <syscall name="sendmmsg" number="349" groups="network"/>
+  <syscall name="setns" number="350" groups="descriptor"/>
+  <syscall name="process_vm_readv" number="351"/>
+  <syscall name="process_vm_writev" number="352"/>
+  <syscall name="finit_module" number="353" groups="descriptor"/>
+  <syscall name="kcmp" number="354"/>
+  <syscall name="sched_setattr" number="355"/>
+  <syscall name="sched_getattr" number="356"/>
+  <syscall name="renameat2" number="357"/>
+  <syscall name="seccomp" number="358"/>
+  <syscall name="getrandom" number="359"/>
+  <syscall name="memfd_create" number="360"/>
+  <syscall name="bpf" number="361"/>
+  <syscall name="execveat" number="362"/>
+  <syscall name="switch_endian" number="363"/>
+  <syscall name="userfaultfd" number="364"/>
+  <syscall name="membarrier" number="365"/>
+  <syscall name="mlock2" number="378"/>
+  <syscall name="copy_file_range" number="379"/>
+  <syscall name="preadv2" number="380"/>
+  <syscall name="pwritev2" number="381"/>
+  <syscall name="kexec_file_load" number="382"/>
+  <syscall name="statx" number="383"/>
+  <syscall name="pkey_alloc" number="384"/>
+  <syscall name="pkey_free" number="385"/>
+  <syscall name="pkey_mprotect" number="386"/>
+  <syscall name="rseq" number="387"/>
+  <syscall name="io_pgetevents" number="388"/>
+  <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"/>
 </syscalls_info>
index 2a96a8d34b882b8e01b405365bc65591d3904b48..4ed80e0a41b52aa41bd411afc1a2f556d519a39b 100644 (file)
@@ -8,11 +8,12 @@
 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
 
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/powerpc/include/asm/unistd.h
+
+     <sys/syscall.h>
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="restart_syscall" number="0"/>
   <syscall name="exit" number="1"/>
   <syscall name="fstatfs64" number="253"/>
   <syscall name="rtas" number="255"/>
   <syscall name="sys_debug_setcontext" number="256"/>
+  <syscall name="migrate_pages" number="258"/>
   <syscall name="mbind" number="259"/>
   <syscall name="get_mempolicy" number="260"/>
   <syscall name="set_mempolicy" number="261"/>
   <syscall name="pselect6" number="280"/>
   <syscall name="ppoll" number="281"/>
   <syscall name="unshare" number="282"/>
-  <syscall name="unlinkat" number="286"/>
-  <syscall name="renameat" number="287"/>
-  <syscall name="linkat" number="288"/>
-  <syscall name="symlinkat" number="289"/>
-  <syscall name="readlinkat" number="290"/>
-  <syscall name="fchmodat" number="291"/>
-  <syscall name="faccessat" number="292"/>
+  <syscall name="splice" number="283"/>
+  <syscall name="tee" number="284"/>
+  <syscall name="vmsplice" number="285"/>
+  <syscall name="openat" number="286"/>
+  <syscall name="mkdirat" number="287"/>
+  <syscall name="mknodat" number="288"/>
+  <syscall name="fchownat" number="289"/>
+  <syscall name="futimesat" number="290"/>
+  <syscall name="newfstatat" number="291"/>
+  <syscall name="unlinkat" number="292"/>
+  <syscall name="renameat" number="293"/>
+  <syscall name="linkat" number="294"/>
+  <syscall name="symlinkat" number="295"/>
+  <syscall name="readlinkat" number="296"/>
+  <syscall name="fchmodat" number="297"/>
+  <syscall name="faccessat" number="298"/>
+  <syscall name="get_robust_list" number="299"/>
+  <syscall name="set_robust_list" number="300"/>
+  <syscall name="move_pages" number="301"/>
+  <syscall name="getcpu" number="302"/>
+  <syscall name="epoll_pwait" number="303"/>
+  <syscall name="utimensat" number="304"/>
+  <syscall name="signalfd" number="305"/>
+  <syscall name="timerfd_create" number="306"/>
+  <syscall name="eventfd" number="307"/>
+  <syscall name="sync_file_range2" number="308"/>
+  <syscall name="fallocate" number="309"/>
+  <syscall name="subpage_prot" number="310"/>
+  <syscall name="timerfd_settime" number="311"/>
+  <syscall name="timerfd_gettime" number="312"/>
+  <syscall name="signalfd4" number="313"/>
+  <syscall name="eventfd2" number="314"/>
+  <syscall name="epoll_create1" number="315"/>
+  <syscall name="dup3" number="316"/>
+  <syscall name="pipe2" number="317"/>
+  <syscall name="inotify_init1" number="318"/>
+  <syscall name="perf_event_open" number="319"/>
+  <syscall name="preadv" number="320"/>
+  <syscall name="pwritev" number="321"/>
+  <syscall name="rt_tgsigqueueinfo" number="322"/>
+  <syscall name="fanotify_init" number="323"/>
+  <syscall name="fanotify_mark" number="324"/>
+  <syscall name="prlimit64" number="325"/>
+  <syscall name="socket" number="326"/>
+  <syscall name="bind" number="327"/>
+  <syscall name="connect" number="328"/>
+  <syscall name="listen" number="329"/>
+  <syscall name="accept" number="330"/>
+  <syscall name="getsockname" number="331"/>
+  <syscall name="getpeername" number="332"/>
+  <syscall name="socketpair" number="333"/>
+  <syscall name="send" number="334"/>
+  <syscall name="sendto" number="335"/>
+  <syscall name="recv" number="336"/>
+  <syscall name="recvfrom" number="337"/>
+  <syscall name="shutdown" number="338"/>
+  <syscall name="setsockopt" number="339"/>
+  <syscall name="getsockopt" number="340"/>
+  <syscall name="sendmsg" number="341"/>
+  <syscall name="recvmsg" number="342"/>
+  <syscall name="recvmmsg" number="343"/>
+  <syscall name="accept4" number="344"/>
+  <syscall name="name_to_handle_at" number="345"/>
+  <syscall name="open_by_handle_at" number="346"/>
+  <syscall name="clock_adjtime" number="347"/>
+  <syscall name="syncfs" number="348"/>
+  <syscall name="sendmmsg" number="349"/>
+  <syscall name="setns" number="350"/>
+  <syscall name="process_vm_readv" number="351"/>
+  <syscall name="process_vm_writev" number="352"/>
+  <syscall name="finit_module" number="353"/>
+  <syscall name="kcmp" number="354"/>
+  <syscall name="sched_setattr" number="355"/>
+  <syscall name="sched_getattr" number="356"/>
+  <syscall name="renameat2" number="357"/>
+  <syscall name="seccomp" number="358"/>
+  <syscall name="getrandom" number="359"/>
+  <syscall name="memfd_create" number="360"/>
+  <syscall name="bpf" number="361"/>
+  <syscall name="execveat" number="362"/>
+  <syscall name="switch_endian" number="363"/>
+  <syscall name="userfaultfd" number="364"/>
+  <syscall name="membarrier" number="365"/>
+  <syscall name="mlock2" number="378"/>
+  <syscall name="copy_file_range" number="379"/>
+  <syscall name="preadv2" number="380"/>
+  <syscall name="pwritev2" number="381"/>
+  <syscall name="kexec_file_load" number="382"/>
+  <syscall name="statx" number="383"/>
+  <syscall name="pkey_alloc" number="384"/>
+  <syscall name="pkey_free" number="385"/>
+  <syscall name="pkey_mprotect" number="386"/>
+  <syscall name="rseq" number="387"/>
+  <syscall name="io_pgetevents" number="388"/>
+  <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"/>
 </syscalls_info>
index be1197867349e55df2ee87954917ebc69bd41bf6..fed0e7b774c35905fd5cf4168fb51cb0ede4229e 100644 (file)
@@ -621,9 +621,9 @@ proc test_catch_syscall_multi_arch {} {
 
     set arch1 "powerpc:common"
     set arch2 "powerpc:common64"
-    set syscall1_name "openat"
-    set syscall2_name "unlinkat"
-    set syscall_number 286
+    set syscall1_name "fstatat64"
+    set syscall2_name "newfstatat"
+    set syscall_number 291
     test_catch_syscall_multi_arch_1 $arch1 $arch2 $syscall1_name \
        $syscall2_name $syscall_number