From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15702 invoked by alias); 5 Dec 2011 20:25:48 -0000 Received: (qmail 15685 invoked by uid 22791); 5 Dec 2011 20:25:47 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Dec 2011 20:25:20 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pB5KPHF8014710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Dec 2011 15:25:17 -0500 Received: from host2.jankratochvil.net (ovpn-116-69.ams2.redhat.com [10.36.116.69]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pB5KPDCJ026908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 5 Dec 2011 15:25:16 -0500 Date: Mon, 05 Dec 2011 21:24:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode Message-ID: <20111205202513.GA26929@host2.jankratochvil.net> References: <201112051601.59664.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201112051601.59664.pedro@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00151.txt.bz2 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 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