Re: [PATCH 8/9] target/riscv: debug: Return 0 if previous value written to tselect >= number of triggers

2022-06-15 Thread Bin Meng
On Fri, Jun 10, 2022 at 1:24 PM wrote: > > From: Frank Chang > > If the value written to tselect is greater than or equal to the number > of supported triggers, then the following reads of tselect would return > value 0. Where is this behavior documented? > > Signed-off-by: Frank Chang > ---

[PATCH 8/9] target/riscv: debug: Return 0 if previous value written to tselect >= number of triggers

2022-06-09 Thread frank . chang
From: Frank Chang If the value written to tselect is greater than or equal to the number of supported triggers, then the following reads of tselect would return value 0. Signed-off-by: Frank Chang --- target/riscv/cpu.h | 1 + target/riscv/debug.c | 6 ++ 2 files changed, 7