Messages in this thread | | | Date | Fri, 24 Jul 2020 00:21:57 +0100 (BST) | From | "Maciej W. Rozycki" <> | Subject | [PATCH 0/2] riscv: ptrace: NT_PRFPREG regset access fixes |
| |
Hi,
In the course of adding RISC-V/Linux support to `gdbserver' I examined our Linux regset code to make sure I get the userland side right and discovered a discrepancy between how our internal `user_regset_copyout' and `user_regset_copyout' API has been defined and how we call it in the RISC-V backend in the handling of the NT_PRFPREG regset. Additionally I found that code violating our coding style.
To address these issues I made this small patch set, addressing each of them separately. See individual change descriptions for details.
These changes are hopefully obviously correct, however to make sure I have verified them manually with a HiFive Unleashed board running `gdbserver' controlled remotely by GDB and also by running the full GDB testsuite in the same environment using the lp64d ABI, without and with the changes applied.
Please apply.
Maciej
| |