This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Hardware watchpoints for UnixWare; based on snapshot 20010627
- To: John Hughes <john at Calva dot COM>
- Subject: Re: Hardware watchpoints for UnixWare; based on snapshot 20010627
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Mon, 02 Jul 2001 11:56:50 -0700
- CC: Eli Zaretskii <eliz at is dot elta dot co dot il>, gdb-patches at sourceware dot cygnus dot com
- Organization: Red Hat
- References: <CDENKKMHIFMALMCCKPCFAEEKCAAA.john@Calva.COM>
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.