Re: [PATCH] target/riscv: gdbstub: Fix dynamic CSR XML generation

2021-06-17 Thread Alistair Francis
On Tue, Jun 15, 2021 at 6:51 PM Bin Meng wrote: > > From: Bin Meng > > Since commit 605def65 ("target/riscv: Use the RISCVException enum for CSR > operations") > the CSR predicate() function was changed to return RISCV_EXCP_NONE > instead of 0 for a valid CSR, but it forgot to update the dyn

Re: [PATCH] target/riscv: gdbstub: Fix dynamic CSR XML generation

2021-06-15 Thread Alistair Francis
On Tue, Jun 15, 2021 at 6:51 PM Bin Meng wrote: > > From: Bin Meng > > Since commit 605def65 ("target/riscv: Use the RISCVException enum for CSR > operations") > the CSR predicate() function was changed to return RISCV_EXCP_NONE > instead of 0 for a valid CSR, but it forgot to update the dyn

[PATCH] target/riscv: gdbstub: Fix dynamic CSR XML generation

2021-06-15 Thread Bin Meng
From: Bin Meng Since commit 605def65 ("target/riscv: Use the RISCVException enum for CSR operations") the CSR predicate() function was changed to return RISCV_EXCP_NONE instead of 0 for a valid CSR, but it forgot to update the dynamic CSR XML generation codes in gdbstub. Fixes: 605def65