Re: [RFA]: Modified Watchthreads Patch

jjohnstn
2005-01-07T00:23:18Z

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.

>
>