This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.
 
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]