Re: [PATCH] m68k: fix 'bkpt' instruction in softmmu mode

2023-01-27 Thread Laurent Vivier
Le 26/01/2023 à 23:12, Mark Cave-Ayland a écrit : On 26/01/2023 12:52, Laurent Vivier wrote: In linux-user mode, 'bkpt' generates an EXP_DEBUG exception to allow QEMU gdb server to intercept and manage the operation with an external debugger. In softmmu mode, the instruction must generate an i

Re: [PATCH] m68k: fix 'bkpt' instruction in softmmu mode

2023-01-26 Thread Mark Cave-Ayland
On 26/01/2023 12:52, Laurent Vivier wrote: In linux-user mode, 'bkpt' generates an EXP_DEBUG exception to allow QEMU gdb server to intercept and manage the operation with an external debugger. In softmmu mode, the instruction must generate an illegal instruction exception as it is on real hardw

Re: [PATCH] m68k: fix 'bkpt' instruction in softmmu mode

2023-01-26 Thread Richard Henderson
On 1/26/23 02:52, Laurent Vivier wrote: In linux-user mode, 'bkpt' generates an EXP_DEBUG exception to allow QEMU gdb server to intercept and manage the operation with an external debugger. In softmmu mode, the instruction must generate an illegal instruction exception as it is on real hardware

[PATCH] m68k: fix 'bkpt' instruction in softmmu mode

2023-01-26 Thread Laurent Vivier
In linux-user mode, 'bkpt' generates an EXP_DEBUG exception to allow QEMU gdb server to intercept and manage the operation with an external debugger. In softmmu mode, the instruction must generate an illegal instruction exception as it is on real hardware to be managed by the kernel. Buglink: htt