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: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Subject: RE: Hardware watchpoints for UnixWare; based on snapshot 20010627
- From: "John Hughes" <john at Calva dot COM>
- Date: Fri, 29 Jun 2001 14:14:18 +0200
- Cc: <gdb-patches at sourceware dot cygnus dot com>
Eli Zaretskii writes:
> From: "John Hughes" <john@Calva.COM>
>> Interface between procfs.c and i386v42-nat.c is unclean,
>> but I don't see how to do it better.
>
> Is there something that i386-nat.c could do to help?
I don't realy see how. 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.