On 15 September 2014 20:59, Max Filippov <jcmvb...@gmail.com> wrote: > I've tested xtensa part and have noticed no difference with or without > this patch: > gdb connected to qemu gdbstub always stops right after the watched > instruction. > I guess that without this patch I should have seen gdb stopping not right > after > the watched instruction, but one instruction later, right?
Yes, that is the behaviour I saw on ARM. Perhaps for Xtensa gdb thinks it has no watchpoint support at all and is using its "singlestep-and-test" fallback? -- PMM