From: Tom de Vries Date: Tue, 26 Nov 2024 12:29:12 +0000 (+0100) Subject: [gdb/syscalls] Update aarch64-linux.xml to linux v6.11 X-Git-Tag: gdb-16-branchpoint~293 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfc65d0579444ec020b309637654cbe17cb9dc60;p=thirdparty%2Fbinutils-gdb.git [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 Approved-By: Luis Machado --- diff --git a/gdb/syscalls/aarch64-linux.xml b/gdb/syscalls/aarch64-linux.xml index 14caea5ab07..656e17746c5 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. --> + @@ -251,7 +255,6 @@ - @@ -265,5 +268,65 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/syscalls/aarch64-linux.xml.in b/gdb/syscalls/aarch64-linux.xml.in index 37d6ea5a6dc..e346aae3258 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. --> + + + @@ -253,7 +259,6 @@ - @@ -267,5 +272,65 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/syscalls/update-linux.sh b/gdb/syscalls/update-linux.sh index e2af1a75cb5..066572cbec9 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 < -