diff options
author | Tom de Vries <tdevries@suse.de> | 2022-05-09 17:22:23 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-05-09 17:22:23 +0200 |
commit | f3c75b2cbe88aa1f637d08317614bbeb2cbeecea (patch) | |
tree | 4df92ffe86ee47adb609f9a5856529749f33b279 /gdb/syscalls/amd64-linux.xml.in | |
parent | d9ab2743baf47aedb40afba1a0d1a5bd2b1a755d (diff) | |
download | gdb-f3c75b2cbe88aa1f637d08317614bbeb2cbeecea.zip gdb-f3c75b2cbe88aa1f637d08317614bbeb2cbeecea.tar.gz gdb-f3c75b2cbe88aa1f637d08317614bbeb2cbeecea.tar.bz2 |
[gdb] Update syscalls/{amd64,i386}-linux.xml
- Add a script syscalls/gen-header.py, based on syscalls/arm-linux.py.
- Add a script syscalls/update-linux.sh (alongside update-freebsd.sh and
update-netbsd.sh).
- Use syscalls/update-linux.sh to update syscalls/{amd64,i386}-linux.xml.in.
- Regenerate syscalls/{amd64,i386}-linux.xml using syscalls/Makefile.
In gdb/syscalls/i386-linux.xml.in, updating has the following notable effect:
...
- <syscall name="madvise1" number="220"/>
- <syscall name="getdents64" number="221"/>
- <syscall name="fcntl64" number="222"/>
+ <syscall name="getdents64" number="220"/>
+ <syscall name="fcntl64" number="221"/>
...
I've verified in ./arch/x86/entry/syscalls/syscall_32.tbl that the numbers are
correct.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/syscalls/amd64-linux.xml.in')
-rw-r--r-- | gdb/syscalls/amd64-linux.xml.in | 70 |
1 files changed, 68 insertions, 2 deletions
diff --git a/gdb/syscalls/amd64-linux.xml.in b/gdb/syscalls/amd64-linux.xml.in index 3b0834b..404d445 100644 --- a/gdb/syscalls/amd64-linux.xml.in +++ b/gdb/syscalls/amd64-linux.xml.in @@ -8,11 +8,12 @@ <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> <!-- This file was generated using the following file: - - /usr/src/linux/arch/x86/include/asm/unistd_64.h + + <sys/syscall.h> The file mentioned above belongs to the Linux Kernel. --> + <syscalls_info> <syscall name="read" number="0"/> <syscall name="write" number="1"/> @@ -311,4 +312,69 @@ <syscall name="inotify_init1" number="294"/> <syscall name="preadv" number="295"/> <syscall name="pwritev" number="296"/> + <syscall name="rt_tgsigqueueinfo" number="297"/> + <syscall name="perf_event_open" number="298"/> + <syscall name="recvmmsg" number="299"/> + <syscall name="fanotify_init" number="300"/> + <syscall name="fanotify_mark" number="301"/> + <syscall name="prlimit64" number="302"/> + <syscall name="name_to_handle_at" number="303"/> + <syscall name="open_by_handle_at" number="304"/> + <syscall name="clock_adjtime" number="305"/> + <syscall name="syncfs" number="306"/> + <syscall name="sendmmsg" number="307"/> + <syscall name="setns" number="308"/> + <syscall name="getcpu" number="309"/> + <syscall name="process_vm_readv" number="310"/> + <syscall name="process_vm_writev" number="311"/> + <syscall name="kcmp" number="312"/> + <syscall name="finit_module" number="313"/> + <syscall name="sched_setattr" number="314"/> + <syscall name="sched_getattr" number="315"/> + <syscall name="renameat2" number="316"/> + <syscall name="seccomp" number="317"/> + <syscall name="getrandom" number="318"/> + <syscall name="memfd_create" number="319"/> + <syscall name="kexec_file_load" number="320"/> + <syscall name="bpf" number="321"/> + <syscall name="execveat" number="322"/> + <syscall name="userfaultfd" number="323"/> + <syscall name="membarrier" number="324"/> + <syscall name="mlock2" number="325"/> + <syscall name="copy_file_range" number="326"/> + <syscall name="preadv2" number="327"/> + <syscall name="pwritev2" number="328"/> + <syscall name="pkey_mprotect" number="329"/> + <syscall name="pkey_alloc" number="330"/> + <syscall name="pkey_free" number="331"/> + <syscall name="statx" number="332"/> + <syscall name="io_pgetevents" number="333"/> + <syscall name="rseq" number="334"/> + <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"/> </syscalls_info> |