This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Modified Watchthreads Patch
- From: jjohnstn <jjohnstn at redhat dot com>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, Eli Zaretskii <eliz at gnu dot org>, <gdb-patches at sources dot redhat dot com>
- Date: Thu, 6 Jan 2005 19:23:09 -0500 (EST)
- Subject: Re: [RFA]: Modified Watchthreads Patch
On Thu, 23 Dec 2004, Michael Snyder wrote:
> Jeff Johnston wrote:
>
> > Originally, S390 also shared this code as it too has to insert
> > watchpoints on all threads. However, it stores its own list of
> > watchpoints so it doesn't require breakpoint.c to go through the
> > breakpoint list and find them anymore.
>
> Maybe breakpoint.h should export a method for traversing
> the breakpoint list (as objfiles.h does for the objfiles
> list).
>
In my particular case, there is more than just traversal logic.
I didn't want that to leave breakpoint.c as I felt that future
changes to the value chain logic or breakpoint struct logic
would be best encapsulated there. Does that seem reasonable?
-- Jeff J.
>
>