Re: [PATCH v2 08/10] accel/tcg: Adjust interface of TranslatorOps.breakpoint_check

2021-07-17 Thread Richard Henderson
On 7/17/21 10:52 AM, Peter Maydell wrote: On Mon, 12 Jul 2021 at 16:48, Richard Henderson wrote: We don't need the whole CPUBreakpoint structure in the check, only the flags. Return the instruction length to consolidate the adjustment of db->pc_next. Signed-off-by: Richard Henderson dif

Re: [PATCH v2 08/10] accel/tcg: Adjust interface of TranslatorOps.breakpoint_check

2021-07-17 Thread Peter Maydell
On Mon, 12 Jul 2021 at 16:48, Richard Henderson wrote: > > We don't need the whole CPUBreakpoint structure in the check, > only the flags. Return the instruction length to consolidate > the adjustment of db->pc_next. > > Signed-off-by: Richard Henderson > diff --git a/target/avr/translate.c b/

[PATCH v2 08/10] accel/tcg: Adjust interface of TranslatorOps.breakpoint_check

2021-07-12 Thread Richard Henderson
We don't need the whole CPUBreakpoint structure in the check, only the flags. Return the instruction length to consolidate the adjustment of db->pc_next. Signed-off-by: Richard Henderson --- include/exec/translator.h | 17 +-- accel/tcg/translator.c| 40 +