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 at Calva dot COM
- Subject: Re: Hardware watchpoints for UnixWare; based on snapshot 20010627
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Fri, 29 Jun 2001 15:26:16 +0300
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <CDENKKMHIFMALMCCKPCFGEEGCAAA.john@Calva.COM>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> From: "John Hughes" <john@Calva.COM>
> 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.