diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-26 13:29:12 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-26 13:29:12 +0100 |
commit | dfc65d0579444ec020b309637654cbe17cb9dc60 (patch) | |
tree | e862d90c210eeb26d9686ae967dd39304c187c43 | |
parent | 1686dc7079f1c03bdaffd2f779b92aa2b7ad97b5 (diff) | |
download | binutils-dfc65d0579444ec020b309637654cbe17cb9dc60.zip binutils-dfc65d0579444ec020b309637654cbe17cb9dc60.tar.gz binutils-dfc65d0579444ec020b309637654cbe17cb9dc60.tar.bz2 |
[gdb/syscalls] Update aarch64-linux.xml to linux v6.11
Use gdb/syscalls/update-linux.sh to update aarch64-linux.xml.in to linux
v6.11, and update aarch64-linux.xml by running make.
Noteworthy changes are removal of entries:
- arch_specific_syscall
- syscalls
which look like they were added accidentally.
I modified update-linux.sh to keep the copyright start date. Verified with
shellcheck.
Tested-By: Luis Machado <luis.machado@arm.com>
Approved-By: Luis Machado <luis.machado@arm.com>
-rw-r--r-- | gdb/syscalls/aarch64-linux.xml | 71 | ||||
-rw-r--r-- | gdb/syscalls/aarch64-linux.xml.in | 73 | ||||
-rwxr-xr-x | gdb/syscalls/update-linux.sh | 9 |
3 files changed, 144 insertions, 9 deletions
diff --git a/gdb/syscalls/aarch64-linux.xml b/gdb/syscalls/aarch64-linux.xml index 14caea5..656e177 100644 --- a/gdb/syscalls/aarch64-linux.xml +++ b/gdb/syscalls/aarch64-linux.xml @@ -4,8 +4,12 @@ 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. This file is offered as-is, - without any warranty. --> + notice and this notice are preserved. --> +<!-- This file was generated using the following file: + + <sys/syscall.h> + + The file mentioned above belongs to the Linux Kernel. --> <syscalls_info> <syscall name="io_setup" number="0" groups="memory"/> <syscall name="io_destroy" number="1" groups="memory"/> @@ -251,7 +255,6 @@ <syscall name="perf_event_open" number="241" groups="descriptor"/> <syscall name="accept4" number="242" groups="network"/> <syscall name="recvmmsg" number="243" groups="network"/> - <syscall name="arch_specific_syscall" number="244"/> <syscall name="wait4" number="260" groups="process"/> <syscall name="prlimit64" number="261"/> <syscall name="fanotify_init" number="262" groups="descriptor"/> @@ -265,5 +268,65 @@ <syscall name="process_vm_readv" number="270"/> <syscall name="process_vm_writev" number="271"/> <syscall name="kcmp" number="272"/> - <syscall name="syscalls" number="273"/> + <syscall name="finit_module" number="273" groups="descriptor"/> + <syscall name="sched_setattr" number="274"/> + <syscall name="sched_getattr" number="275"/> + <syscall name="renameat2" number="276" groups="descriptor,file"/> + <syscall name="seccomp" number="277"/> + <syscall name="getrandom" number="278"/> + <syscall name="memfd_create" number="279" groups="descriptor"/> + <syscall name="bpf" number="280" groups="descriptor"/> + <syscall name="execveat" number="281" groups="descriptor,file,process"/> + <syscall name="userfaultfd" number="282" groups="descriptor"/> + <syscall name="membarrier" number="283"/> + <syscall name="mlock2" number="284" groups="memory"/> + <syscall name="copy_file_range" number="285" groups="descriptor"/> + <syscall name="preadv2" number="286" groups="descriptor"/> + <syscall name="pwritev2" number="287" groups="descriptor"/> + <syscall name="pkey_mprotect" number="288" groups="memory"/> + <syscall name="pkey_alloc" number="289"/> + <syscall name="pkey_free" number="290"/> + <syscall name="statx" number="291" groups="descriptor,file"/> + <syscall name="io_pgetevents" number="292"/> + <syscall name="rseq" number="293"/> + <syscall name="kexec_file_load" number="294" groups="descriptor"/> + <syscall name="pidfd_send_signal" number="424" groups="descriptor,signal,process"/> + <syscall name="io_uring_setup" number="425" groups="descriptor"/> + <syscall name="io_uring_enter" number="426" groups="descriptor,signal"/> + <syscall name="io_uring_register" number="427" groups="descriptor,memory"/> + <syscall name="open_tree" number="428" groups="descriptor,file"/> + <syscall name="move_mount" number="429" groups="descriptor,file"/> + <syscall name="fsopen" number="430" groups="descriptor"/> + <syscall name="fsconfig" number="431" groups="descriptor,file"/> + <syscall name="fsmount" number="432" groups="descriptor"/> + <syscall name="fspick" number="433" groups="descriptor,file"/> + <syscall name="pidfd_open" number="434" groups="descriptor"/> + <syscall name="clone3" number="435" groups="process"/> + <syscall name="close_range" number="436"/> + <syscall name="openat2" number="437" groups="descriptor,file"/> + <syscall name="pidfd_getfd" number="438" groups="descriptor"/> + <syscall name="faccessat2" number="439" groups="descriptor,file"/> + <syscall name="process_madvise" number="440" groups="descriptor"/> + <syscall name="epoll_pwait2" number="441" groups="descriptor"/> + <syscall name="mount_setattr" number="442" groups="descriptor,file"/> + <syscall name="quotactl_fd" number="443" groups="descriptor"/> + <syscall name="landlock_create_ruleset" number="444" groups="descriptor"/> + <syscall name="landlock_add_rule" number="445" groups="descriptor"/> + <syscall name="landlock_restrict_self" number="446" groups="descriptor"/> + <syscall name="memfd_secret" number="447" groups="descriptor"/> + <syscall name="process_mrelease" number="448" groups="descriptor"/> + <syscall name="futex_waitv" number="449"/> + <syscall name="set_mempolicy_home_node" number="450" groups="memory"/> + <syscall name="cachestat" number="451" groups="descriptor"/> + <syscall name="fchmodat2" number="452" groups="descriptor,file"/> + <syscall name="map_shadow_stack" number="453" groups="memory"/> + <syscall name="futex_wake" number="454"/> + <syscall name="futex_wait" number="455"/> + <syscall name="futex_requeue" number="456"/> + <syscall name="statmount" number="457"/> + <syscall name="listmount" number="458"/> + <syscall name="lsm_get_self_attr" number="459"/> + <syscall name="lsm_set_self_attr" number="460"/> + <syscall name="lsm_list_modules" number="461"/> + <syscall name="mseal" number="462" groups="memory"/> </syscalls_info> diff --git a/gdb/syscalls/aarch64-linux.xml.in b/gdb/syscalls/aarch64-linux.xml.in index 37d6ea5..e346aae 100644 --- a/gdb/syscalls/aarch64-linux.xml.in +++ b/gdb/syscalls/aarch64-linux.xml.in @@ -3,11 +3,17 @@ 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. This file is offered as-is, - without any warranty. --> + notice and this notice are preserved. --> <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> +<!-- This file was generated using the following file: + + <sys/syscall.h> + + The file mentioned above belongs to the Linux Kernel. --> + + <syscalls_info> <syscall name="io_setup" number="0"/> <syscall name="io_destroy" number="1"/> @@ -253,7 +259,6 @@ <syscall name="perf_event_open" number="241"/> <syscall name="accept4" number="242"/> <syscall name="recvmmsg" number="243"/> - <syscall name="arch_specific_syscall" number="244"/> <syscall name="wait4" number="260"/> <syscall name="prlimit64" number="261"/> <syscall name="fanotify_init" number="262"/> @@ -267,5 +272,65 @@ <syscall name="process_vm_readv" number="270"/> <syscall name="process_vm_writev" number="271"/> <syscall name="kcmp" number="272"/> - <syscall name="syscalls" number="273"/> + <syscall name="finit_module" number="273"/> + <syscall name="sched_setattr" number="274"/> + <syscall name="sched_getattr" number="275"/> + <syscall name="renameat2" number="276"/> + <syscall name="seccomp" number="277"/> + <syscall name="getrandom" number="278"/> + <syscall name="memfd_create" number="279"/> + <syscall name="bpf" number="280"/> + <syscall name="execveat" number="281"/> + <syscall name="userfaultfd" number="282"/> + <syscall name="membarrier" number="283"/> + <syscall name="mlock2" number="284"/> + <syscall name="copy_file_range" number="285"/> + <syscall name="preadv2" number="286"/> + <syscall name="pwritev2" number="287"/> + <syscall name="pkey_mprotect" number="288"/> + <syscall name="pkey_alloc" number="289"/> + <syscall name="pkey_free" number="290"/> + <syscall name="statx" number="291"/> + <syscall name="io_pgetevents" number="292"/> + <syscall name="rseq" number="293"/> + <syscall name="kexec_file_load" number="294"/> + <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="memfd_secret" number="447"/> + <syscall name="process_mrelease" number="448"/> + <syscall name="futex_waitv" number="449"/> + <syscall name="set_mempolicy_home_node" number="450"/> + <syscall name="cachestat" number="451"/> + <syscall name="fchmodat2" number="452"/> + <syscall name="map_shadow_stack" number="453"/> + <syscall name="futex_wake" number="454"/> + <syscall name="futex_wait" number="455"/> + <syscall name="futex_requeue" number="456"/> + <syscall name="statmount" number="457"/> + <syscall name="listmount" number="458"/> + <syscall name="lsm_get_self_attr" number="459"/> + <syscall name="lsm_set_self_attr" number="460"/> + <syscall name="lsm_list_modules" number="461"/> + <syscall name="mseal" number="462"/> </syscalls_info> diff --git a/gdb/syscalls/update-linux.sh b/gdb/syscalls/update-linux.sh index e2af1a7..066572c 100755 --- a/gdb/syscalls/update-linux.sh +++ b/gdb/syscalls/update-linux.sh @@ -36,12 +36,19 @@ if [ ! -f "$f" ]; then exit 1 fi +startyear=2009 +case "$f" in + *aarch64-linux.xml.in) + startyear=2015 + ;; +esac + year=$(date +%Y) ( cat <<EOF <?xml version="1.0"?> -<!-- Copyright (C) 2009-$year Free Software Foundation, Inc. +<!-- Copyright (C) $startyear-$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 |