Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode

Jan Kratochvil
2011-12-05T20:25:48Z

On Mon, 05 Dec 2011 17:01:59 +0100, Pedro Alves wrote:
> On native x86 targets, the desired state of hardware watchpoints is
> kept on a local mirror of the inferior's debug registers, and copied
> to each thread whenever the mirror changes.

The patchset
[patch 0/4] hw watchpoints across fork() + multi-inf

which I am rebasing now on top of HEAD which already reimplements its part by
commit 96fd921972966166fda0eb300bfa4e5479f3b31f
Author: Pedro Alves <pedro@codesourcery.com>
Date: Fri Jul 22 16:58:30 2011 +0000
http://sourceware.org/ml/gdb-patches/2011-07/msg00586.html

The patch in Fedora since 2007 is solving this by having per-inferior copy of
the registers.

I miss some testcases in your patch.

I can rebase what remains from the patchset on this patch.

Thanks,
Jan