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]

Re: Hardware watchpoints for UnixWare; based on snapshot 20010627


John Hughes wrote:
> 
> > How about adding access methods to procfs.c explicitly
> > to export this functionality to i386*-nat.c?  I seem to
> > recall we already have a few like that, and IMO it is
> > better than many alternatives.
> 
> That's what I did.  I was just unhappy that there was
> this nasty private relationship between i386v42-nat.c and
> procfs.c, but now I see that the Solaris code does it in
> more or less the same way, the functions procfs_set_watchpoint,
> and procfs_stopped_by_watchpoint are defined in procfs.c,
> and used by nm-i386sol2.h (and others).

I think this is fine.


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