qemu-devel
[Top][All Lists]
Advanced

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

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


From: Richard Henderson
Subject: Re: [PATCH] m68k: fix 'bkpt' instruction in softmmu mode
Date: Thu, 26 Jan 2023 05:28:21 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

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 to be managed by the kernel.

Buglink:https://gitlab.com/qemu-project/qemu/-/issues/146
Signed-off-by: Laurent Vivier<laurent@vivier.eu>
---
  target/m68k/translate.c | 4 ++++
  1 file changed, 4 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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