Re: [PATCH] target/mips: Advance pc after semihosting exception

2022-08-02 Thread Philippe Mathieu-Daudé via
On Tue, Aug 2, 2022 at 4:11 PM Richard Henderson wrote: > On 8/1/22 23:48, Philippe Mathieu-Daudé wrote: > > Hi Richard, > > > > On 30/7/22 04:18, Richard Henderson wrote: > >> Delay generating the exception until after we know the > >> insn length, and record that length in env->error_code. > >>

Re: [PATCH] target/mips: Advance pc after semihosting exception

2022-08-02 Thread Richard Henderson
On 8/1/22 23:48, Philippe Mathieu-Daudé wrote: Hi Richard, On 30/7/22 04:18, Richard Henderson wrote: Delay generating the exception until after we know the insn length, and record that length in env->error_code. Fixes: 8ec7e3c53d4 ("target/mips: Use an exception for semihosting") Resolves: ht

Re: [PATCH] target/mips: Advance pc after semihosting exception

2022-08-01 Thread Philippe Mathieu-Daudé via
Hi Richard, On 30/7/22 04:18, Richard Henderson wrote: Delay generating the exception until after we know the insn length, and record that length in env->error_code. Fixes: 8ec7e3c53d4 ("target/mips: Use an exception for semihosting") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1126

[PATCH] target/mips: Advance pc after semihosting exception

2022-07-29 Thread Richard Henderson
Delay generating the exception until after we know the insn length, and record that length in env->error_code. Fixes: 8ec7e3c53d4 ("target/mips: Use an exception for semihosting") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1126 Signed-off-by: Richard Henderson --- target/mips/tcg/tr