From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eli Zaretskii" To: john@Calva.COM Cc: gdb-patches@sourceware.cygnus.com Subject: Re: Hardware watchpoints for UnixWare; based on snapshot 20010627 Date: Fri, 29 Jun 2001 05:32:00 -0000 Message-id: <3277-Fri29Jun2001152615+0300-eliz@is.elta.co.il> References: X-SW-Source: 2001-06/msg00516.html > From: "John Hughes" > Date: Fri, 29 Jun 2001 14:14:18 +0200 > > The problem is that > > 1. the "i386v42mp-nat.c" (what a foul name!) code needs access to > the debug registers stored in the "pr_family" part of the > prstatus.pr_lwp structure, which is only known to procfs.c > > 2. It also needs to issue a PCSDBREG command via procfs. > > So it needs some horrid special access to stuff only procfs knows. Sounds like procfs.c should add a few functions that would allow to access this information.