Re: [PATCH v5 05/23] target/ppc: Move single-step check to ppc_tr_tb_stop

2021-05-17 Thread David Gibson
On Mon, May 17, 2021 at 05:50:07PM -0300, matheus.fe...@eldorado.org.br wrote: > From: Richard Henderson > > When single-stepping, force max_insns to 1 in init_disas > so that we exit the translation loop immediately. > > Combine the single-step checks in tb_stop, and give the > gdb exception

[PATCH v5 05/23] target/ppc: Move single-step check to ppc_tr_tb_stop

2021-05-17 Thread matheus . ferst
From: Richard Henderson When single-stepping, force max_insns to 1 in init_disas so that we exit the translation loop immediately. Combine the single-step checks in tb_stop, and give the gdb exception priority over the cpu exception, just as we already do in gen_lookup_and_goto_ptr.