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: <msnyder at cygnus dot com>
- Subject: RE: Hardware watchpoints for UnixWare; based on snapshot 20010627
- From: "John Hughes" <john at Calva dot COM>
- Date: Mon, 2 Jul 2001 15:07:07 +0200
- Cc: "Eli Zaretskii" <eliz at is dot elta dot co dot il>, <gdb-patches at sourceware dot cygnus dot com>
> 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).