qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 5/5] target/riscv: Use RiscVException enum for CSR access


From: Alistair Francis
Subject: Re: [PATCH v1 5/5] target/riscv: Use RiscVException enum for CSR access
Date: Fri, 19 Mar 2021 09:19:11 -0400

On Thu, Mar 18, 2021 at 9:25 AM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> On 3/17/21 11:40 AM, Alistair Francis wrote:
> >           result = riscv_csrrw_debug(env, n - 32, &val,
> >                                      0, 0);
> > -        if (result == 0) {
> > +        if (result != RISCV_EXCP_NONE) {
>
> This was intending == NONE.  I.e. no exception raised, let gdb proceed.

Good catch! Fixed.

Alistair

>
>
> r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]