diff options
| author | timurgol007 <timurgol007@gmail.com> | 2025-07-02 18:59:34 +0300 |
|---|---|---|
| committer | timurgol007 <timurgol007@gmail.com> | 2025-08-28 12:25:05 +0300 |
| commit | a784750d1691da97b12cc69841496f928872a948 (patch) | |
| tree | 644d3d1d851c1fe0b1a9aea871734a6aafedd698 /gdb/python/python.c | |
| parent | e9303c4337161daf7f487daeb88488d3d5fbe129 (diff) | |
| download | binutils-a784750d1691da97b12cc69841496f928872a948.zip binutils-a784750d1691da97b12cc69841496f928872a948.tar.gz binutils-a784750d1691da97b12cc69841496f928872a948.tar.bz2 | |
gdb/record: Support wfi, sfence.vma, sret and mret instructions in risc-v
During testing of bare-metal applications on QEMU for RISC-V, it was discovered
that the instructions wfi, sfence.vma, sret, and mret were not supported. This
patch introduces support for these instructions. Additionally, it wraps
fetch_instruction function in a try-catch block to gracefully handle errors
that may occur when attempting to read invalid address.
Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions
