From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Snyder To: John Hughes Cc: Eli Zaretskii , gdb-patches@sourceware.cygnus.com Subject: Re: Hardware watchpoints for UnixWare; based on snapshot 20010627 Date: Mon, 02 Jul 2001 11:57:00 -0000 Message-id: <3B40C3F2.C4401C3D@cygnus.com> References: X-SW-Source: 2001-07/msg00012.html 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.