Hi Alistair,

I'm fine with it being queued separately. Would you like me to resend it as a
standalone patch, or will you pick it directly from this thread?

Thanks,
Yechao
 
> 
> >   target/riscv/machine.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/target/riscv/machine.c b/target/riscv/machine.c
> > index 0de06e9588..c5f0261ba7 100644
> > --- a/target/riscv/machine.c
> > +++ b/target/riscv/machine.c
> > @@ -324,7 +324,7 @@ static bool debug_needed(void *opaque)
> >   {
> >       RISCVCPU *cpu = opaque;
> >   
> > -    return cpu->cfg.debug || cpu->cfg.ext_sdtrig;
> > +    return tcg_enabled() && (cpu->cfg.debug || cpu->cfg.ext_sdtrig);
> >   }
> >   
> >   static bool sdext_needed(void *opaque)

Reply via email to