[v1,1/7] gdb: syscalls: Update linux-defaults.xml.in

Message ID 20240229083910.9991-2-yangtiezhu@loongson.cn
State New
Headers
Series gdb: Modify some code about syscalls XML |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gdb_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gdb_check--master-arm success Testing passed

Commit Message

Tiezhu Yang Feb. 29, 2024, 8:39 a.m. UTC
  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>
---
 gdb/syscalls/linux-defaults.xml.in | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

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"/>