This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdbserver i386_linux hardware watchpoints in a multi threaded application
- From: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- To: Claus Baumgartner <claus dot baumgartner at netsonic dot fi>
- Cc: gdb at sourceware dot org
- Date: Wed, 15 Aug 2007 16:12:29 -0300
- Subject: Re: gdbserver i386_linux hardware watchpoints in a multi threaded application
- References: <46C34837.1070602@netsonic.fi>
- Reply-to: luisgpm at linux dot vnet dot ibm dot com
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.
You can check the most up-to-date patch on these messages:
http://sourceware.org/ml/gdb-patches/2007-08/msg00253.html
http://sourceware.org/ml/gdb-patches/2007-08/msg00254.html
The original post by Jeff Johnston here:
http://sourceware.org/ml/gdb-patches/2004-06/msg00278.html
Best regards,
--
Luis Machado
Software Engineer
IBM Linux Technology Center
e-mail: luisgpm@linux.vnet.ibm.com