Re: [Qemu-devel] MTTCG qemu-softmmu aborted on watchpoint hit by atomic instruction

2019-01-15 Thread Max Filippov
On Tue, Jan 15, 2019 at 6:51 AM Emilio G. Cota wrote: > Can you please try the appended? > > diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c > index 870027d435..a5258bcbc8 100644 > --- a/accel/tcg/cpu-exec.c > +++ b/accel/tcg/cpu-exec.c > @@ -266,6 +266,9 @@ void cpu_exec_step_atomic(CPUS

Re: [Qemu-devel] MTTCG qemu-softmmu aborted on watchpoint hit by atomic instruction

2019-01-15 Thread Emilio G. Cota
On Mon, Jan 14, 2019 at 18:49:43 -0800, Max Filippov wrote: > Hello, > > I tried to debug guest application on SMP xtensa softmmu QEMU > through the gdbserver and found that QEMU aborts when guest > uses atomic operation to modify memory location watched by the > debugger. It exits with the follow

[Qemu-devel] MTTCG qemu-softmmu aborted on watchpoint hit by atomic instruction

2019-01-14 Thread Max Filippov
Hello, I tried to debug guest application on SMP xtensa softmmu QEMU through the gdbserver and found that QEMU aborts when guest uses atomic operation to modify memory location watched by the debugger. It exits with the following message: ERROR: cpus.c:1848:qemu_mutex_lock_iothread_impl: assertio