[binutils-gdb] gdb: syscalls: Update linux-defaults.xml.in

Tiezhu Yang yangtiezhu@sourceware.org
Wed Mar 20 10:51:22 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=35716707ebbbd4bffe19313fa33148de5fe1ca42

commit 35716707ebbbd4bffe19313fa33148de5fe1ca42
Author: Tiezhu Yang <yangtiezhu@loongson.cn>
Date:   Thu Feb 29 16:39:03 2024 +0800

    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>

Diff:
---
 gdb/syscalls/linux-defaults.xml.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gdb/syscalls/linux-defaults.xml.in b/gdb/syscalls/linux-defaults.xml.in
index 85b7fff79be..6f6624cb01e 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"/>


More information about the Gdb-cvs mailing list