From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16019 invoked by alias); 17 Aug 2007 14:15:55 -0000 Received: (qmail 15900 invoked by uid 22791); 17 Aug 2007 14:15:54 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.taloyhtioverkot.fi (HELO smtp.taloyhtioverkot.fi) (212.16.101.161) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Aug 2007 14:15:50 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.taloyhtioverkot.fi (Postfix) with ESMTP id 73ECD3EC1C6; Fri, 17 Aug 2007 17:20:48 +0300 (EEST) Received: from smtp.taloyhtioverkot.fi ([127.0.0.1]) by localhost (smtp.taloyhtioverkot.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lm-7QB1hUd3n; Fri, 17 Aug 2007 17:20:45 +0300 (EEST) Received: from [192.168.0.103] (adsl-212-16-102-13.taloyhtioverkot.fi [212.16.102.13]) by smtp.taloyhtioverkot.fi (Postfix) with ESMTP id 3C96C3EC1C5; Fri, 17 Aug 2007 17:20:45 +0300 (EEST) Message-ID: <46C5AD8B.9050104@netsonic.fi> Date: Fri, 17 Aug 2007 14:15:00 -0000 From: Claus Baumgartner User-Agent: Thunderbird 1.5.0.12 (X11/20070719) MIME-Version: 1.0 To: Luis Machado , Claus Baumgartner , gdb@sourceware.org Subject: Re: gdbserver i386_linux hardware watchpoints in a multi threaded application References: <46C34837.1070602@netsonic.fi> <1187205149.4886.20.camel@localhost> <20070815192547.GA1168@caradoc.them.org> In-Reply-To: <20070815192547.GA1168@caradoc.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/msg00132.txt.bz2 Daniel Jacobowitz wrote: > 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? > I'm overloaded for the moment and the i386 watchpoint support is quite messy. I will send a patch when I get the time to clean it up. Have a nice day, Claus