From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29126 invoked by alias); 15 Aug 2007 19:25:56 -0000 Received: (qmail 29003 invoked by uid 22791); 15 Aug 2007 19:25:56 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 15 Aug 2007 19:25:51 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1F37798308; Wed, 15 Aug 2007 19:25:51 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 475279812E; Wed, 15 Aug 2007 19:25:49 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1ILOV1-0000MI-6w; Wed, 15 Aug 2007 15:25:47 -0400 Date: Wed, 15 Aug 2007 19:25:00 -0000 From: Daniel Jacobowitz To: Luis Machado Cc: Claus Baumgartner , gdb@sourceware.org Subject: Re: gdbserver i386_linux hardware watchpoints in a multi threaded application Message-ID: <20070815192547.GA1168@caradoc.them.org> Mail-Followup-To: Luis Machado , Claus Baumgartner , gdb@sourceware.org References: <46C34837.1070602@netsonic.fi> <1187205149.4886.20.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1187205149.4886.20.camel@localhost> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00127.txt.bz2 On Wed, Aug 15, 2007 at 04:12:29PM -0300, Luis Machado wrote: > On Wed, 2007-08-15 at 21:38 +0300, Claus Baumgartner wrote: > > Hi, > > > > I implemented the hardware watchpoints for the i386 linux target in the > > gdbserver and it works fine in the same thread where the watchpoint > > has been assigned. I would like to use gdb and gdb server to debug > > memory locations overwritten by other threads and this is where gdb fails. > > > > Is there any work in progress regarding this? > > Yes, there is. The patch Jeff Johnston wrote some time ago should > address this on GDB. I'm currently taking over his work and adding > support for ppc. I think that Jeff's patches only affect gdb native debugging, and gdbserver would need an independent fix. But the same solution should work there, too. Claus, do you have a copyright assignment? Are you interested in contributing the i386 watchpoint support for gdbserver? -- Daniel Jacobowitz CodeSourcery