aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2024-02-29 16:39:03 +0800
committerTiezhu Yang <yangtiezhu@loongson.cn>2024-03-20 18:49:52 +0800
commit35716707ebbbd4bffe19313fa33148de5fe1ca42 (patch)
tree6b8249abe5df964524d5b6db23b581415c414ee9
parent8a61ee551ce3059f602fee1e576af08c03f991bc (diff)
downloadbinutils-35716707ebbbd4bffe19313fa33148de5fe1ca42.zip
binutils-35716707ebbbd4bffe19313fa33148de5fe1ca42.tar.gz
binutils-35716707ebbbd4bffe19313fa33148de5fe1ca42.tar.bz2
gdb: syscalls: Update linux-defaults.xml.in
Make use of the script update-linux-defaults.sh to regenerate the Linux syscall group info against strace git commit 8c480270653d which will be released in v6.8. Like this: $ git clone https://github.com/strace/strace.git strace.git $ git clone https://sourceware.org/git/binutils-gdb.git gdb.git $ cd gdb.git/gdb/syscalls/ $ ./update-linux-defaults.sh ~/strace.git/ Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Approved-By: John Baldwin <jhb@FreeBSD.org>
-rw-r--r--gdb/syscalls/linux-defaults.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/syscalls/linux-defaults.xml.in b/gdb/syscalls/linux-defaults.xml.in
index 85b7fff..6f6624c 100644
--- a/gdb/syscalls/linux-defaults.xml.in
+++ b/gdb/syscalls/linux-defaults.xml.in
@@ -34,6 +34,7 @@
<syscall name="bsd43_statfs" groups="file"/>
<syscall name="bsd43_stat" groups="file"/>
<syscall name="cacheflush" groups="memory"/>
+ <syscall name="cachestat" groups="descriptor"/>
<syscall name="chdir" groups="file"/>
<syscall name="chmod" groups="file"/>
<syscall name="chown32" groups="file"/>
@@ -70,6 +71,7 @@
<syscall name="fanotify_init" groups="descriptor"/>
<syscall name="fanotify_mark" groups="descriptor,file"/>
<syscall name="fchdir" groups="descriptor"/>
+ <syscall name="fchmodat2" groups="descriptor,file"/>
<syscall name="fchmodat" groups="descriptor,file"/>
<syscall name="fchmod" groups="descriptor"/>
<syscall name="fchown32" groups="descriptor"/>
@@ -138,6 +140,7 @@
<syscall name="lstat64" groups="file"/>
<syscall name="lstat" groups="file"/>
<syscall name="madvise" groups="memory"/>
+ <syscall name="map_shadow_stack" groups="memory"/>
<syscall name="mbind" groups="memory"/>
<syscall name="memfd_create" groups="descriptor"/>
<syscall name="memfd_secret" groups="descriptor"/>