|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v14 07/34] target/arm: Set is_jmp properly after single-stepping |
Date: | Sat, 22 Jul 2017 00:39:13 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/21/2017 11:37 AM, Emilio G. Cota wrote:
gen_exception_internal_insn(dc, 0, EXCP_DEBUG); + dc->is_jmp = DISAS_NORETURN;gen_exception_internal_insn already sets dc->is_jmp to DISAS_NORETURN, as per patch 04/34: @@ -304,7 +304,7 @@ static void gen_exception_internal_insn(DisasContext *s, int offset, int excp) { gen_a64_set_pc_im(s->pc - offset); gen_exception_internal(excp); - s->is_jmp = DISAS_EXC; + s->is_jmp = DISAS_NORETURN; } This applies to both arm and a64. Why do we need to set is_jmp again, then?
Because I confused gen_exception_internal, which does not. I have dropped this patch. r~
[Prev in Thread] | Current Thread | [Next in Thread] |