]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Rewrote riscv-canonicalize-gen.py using xml file
authorTimur Golubovich <timurgol007@gmail.com>
Thu, 4 Sep 2025 18:07:11 +0000 (21:07 +0300)
committertimurgol007 <timurgol007@gmail.com>
Wed, 1 Oct 2025 10:15:36 +0000 (13:15 +0300)
commit321ac819c4fb534c5887a8f86af320f7f1146d7c
tree0769ed7989bb977c360efd0ea7d13fab8a440410
parente4f355f13be7fd4b165fe3ec3349ece972db05db
Rewrote riscv-canonicalize-gen.py using xml file

Since catching-syscalls was added, there had been added files containing
syscalls in xml format. As for now riscv-canonicalize-syscall-gen.py uses
glibc for generating, it may be not so comfortable. I changed this
script for reusing newly generated riscv-linux.xml file. Also, I renamed
riscv64_canonicalize_syscall to riscv_linux_canonicalize_syscall as only 64
system is supported in linux. This will simplify the possible further
generalization of this script to other architectures.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/Makefile.in
gdb/configure.tgt
gdb/riscv-linux-canonicalize-syscall-gen.c [moved from gdb/riscv-canonicalize-syscall-gen.c with 97% similarity]
gdb/riscv-linux-tdep.c
gdb/riscv-linux-tdep.h
gdb/syscalls/riscv-canonicalize-syscall-gen.py [deleted file]
gdb/syscalls/riscv-linux-canonicalize-syscall-gen.py [new file with mode: 0755]