lkml.org 
[lkml]   [2020]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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

\
 
 \ /
  Last update: 2020-07-24 01:22    [W:0.837 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site