[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.21.2007232038170.24175@redsun52.ssa.fujisawa.hgst.com>
Date: Fri, 24 Jul 2020 00:21:57 +0100 (BST)
From: "Maciej W. Rozycki" <macro@....com>
To: linux-riscv@...ts.infradead.org
cc: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, linux-kernel@...r.kernel.org
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
Powered by blists - more mailing lists