Re: [PATCH v2 3/7] target/riscv: debug: Implement debug related TCGCPUOps

2021-11-16 Thread Alistair Francis
On Sat, Oct 30, 2021 at 11:59 PM Bin Meng wrote: > > Implement .debug_excp_handler, .debug_check_{breakpoint, watchpoint} > TCGCPUOps and hook them into riscv_tcg_ops. > > Signed-off-by: Bin Meng Reviewed-by: Alistair Francis Alistair > > --- > > Changes in v2: > - use 0 instead of GETPC() >

[PATCH v2 3/7] target/riscv: debug: Implement debug related TCGCPUOps

2021-10-30 Thread Bin Meng
Implement .debug_excp_handler, .debug_check_{breakpoint, watchpoint} TCGCPUOps and hook them into riscv_tcg_ops. Signed-off-by: Bin Meng --- Changes in v2: - use 0 instead of GETPC() target/riscv/debug.h | 4 +++ target/riscv/cpu.c | 3 ++ target/riscv/debug.c | 75 +++