Re: [PATCH 02/17] target/avr: Fix buffer read in avr_print_insn

2025-03-25 Thread Pierrick Bouvier
On 3/23/25 10:37, Richard Henderson wrote: Do not unconditionally attempt to read 4 bytes, as there may only be 2 bytes remaining in the translator cache. Cc: qemu-sta...@nongnu.org Signed-off-by: Richard Henderson --- target/avr/disas.c | 21 ++--- 1 file changed, 14 inserti

[PATCH 02/17] target/avr: Fix buffer read in avr_print_insn

2025-03-23 Thread Richard Henderson
Do not unconditionally attempt to read 4 bytes, as there may only be 2 bytes remaining in the translator cache. Cc: qemu-sta...@nongnu.org Signed-off-by: Richard Henderson --- target/avr/disas.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/target/avr