qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 10/15] target-tricore: Add instructions of SB


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v5 10/15] target-tricore: Add instructions of SB opcode format
Date: Thu, 21 Aug 2014 13:41:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

On 08/13/2014 05:07 AM, Bastian Koppelmann wrote:
> @@ -679,9 +768,11 @@ gen_intermediate_code_internal(TRICORECPU *cpu, struct 
> TranslationBlock *tb,
>          num_insns++;
>  
>          if (tcg_ctx.gen_opc_ptr >= gen_opc_end) {
> +            gen_goto_tb(&ctx, 0, ctx.next_pc);
>              break;
>          }
>          if (singlestep) {
> +            gen_goto_tb(&ctx, 0, ctx.next_pc);
>              break;
>          }

Do not use goto_tb under singlestep.  That can make it very hard to debug
translator bugs.  I've been considering checking for that at the tcg level,
except that almost all translators have this bug.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]