Re: [PATCH v2 1/1] riscv: show code leading to exception

2021-09-04 Thread Sean Anderson
On 9/4/21 4:36 AM, Heinrich Schuchardt wrote: To make analyzing exceptions easier output the code that leads to it. We already do the same on the ARM platform. Here is an example: => exception ebreak Unhandled exception: Breakpoint EPC: 8ff5d50e RA: 8ff5d62c TVAL:

Re: [PATCH v2 1/1] riscv: show code leading to exception

2021-09-04 Thread Bin Meng
On Sat, Sep 4, 2021 at 4:37 PM Heinrich Schuchardt wrote: > > To make analyzing exceptions easier output the code that leads to it. > We already do the same on the ARM platform. > > Here is an example: > > => exception ebreak > Unhandled exception: Breakpoint > EPC: 8ff5d50e RA

[PATCH v2 1/1] riscv: show code leading to exception

2021-09-04 Thread Heinrich Schuchardt
To make analyzing exceptions easier output the code that leads to it. We already do the same on the ARM platform. Here is an example: => exception ebreak Unhandled exception: Breakpoint EPC: 8ff5d50e RA: 8ff5d62c TVAL: EPC: 8020b50e RA: 000