]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
This commit adds record full support for rv64gc instruction set
authorTimur <timurgol007@gmail.com>
Tue, 18 Mar 2025 18:49:44 +0000 (21:49 +0300)
committerGuinevere Larsen <guinevere@redhat.com>
Wed, 23 Apr 2025 12:30:31 +0000 (09:30 -0300)
commitb9c7eed0c2409fc640129a38d80a2bf1212b464a
tree385b391edc93ae49472c9d19781f8c87ea664145
parente32b976a152894c00a01e4e0a48cd1f1d82d1d39
This commit adds record full support for rv64gc instruction set

It includes changes to the following files:
- gdb/riscv-linux-tdep.c, gdb/riscv-linux-tdep.h: adds facilities to record
syscalls.
- gdb/riscv-tdep.c, gdb/riscv-tdep.h: adds facilities to record execution of
rv64gc instructions.
- gdb/configure.tgt: adds new files for compilation.
- gdb/testsuite/lib/gdb.exp: enables testing of full record mode for RISC-V
targets.
- gdb/syscalls/riscv-canonicalize-syscall-gen.py: a script to generate
function that canonicalizes RISC-V syscall. This script can simplify support
for syscalls on rv32 and rv64 system (currently support only for rv64).  To
use this script you need to pass a path to a file with syscalls description
from riscv-glibc (example is in the help message). The script produces a
mapping from syscall names to gdb_syscall enum.
- gdb/riscv-canonicalize-syscall.c: the file generated by the previous script.
- gdb/doc/gdb.texinfo: notification that record mode is enabled in RISC-V.
- gdb/NEWS: notification of new functionality.

Approved-By: Guinevere Larsen <guinevere@redhat.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/NEWS
gdb/configure.tgt
gdb/doc/gdb.texinfo
gdb/riscv-canonicalize-syscall-gen.c [new file with mode: 0644]
gdb/riscv-linux-tdep.c
gdb/riscv-linux-tdep.h [new file with mode: 0644]
gdb/riscv-tdep.c
gdb/riscv-tdep.h
gdb/syscalls/riscv-canonicalize-syscall-gen.py [new file with mode: 0755]
gdb/testsuite/lib/gdb.exp