This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: Make Linux use the new unified x86 watchpoint support
- To: Mark Kettenis <kettenis at science dot uva dot nl>
- Subject: Re: [PATCH]: Make Linux use the new unified x86 watchpoint support
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Tue, 27 Mar 2001 12:18:11 +0200 (IST)
- cc: msnyder at cygnus dot com, gdb-patches at sources dot redhat dot com
On Tue, 27 Mar 2001, Mark Kettenis wrote:
> Except that the implementation of hardware breakpoints/watchpoints in
> core GDB is really shoddy.
True. It clearly shows that it was originally written for a very special
platform (Sparclet, I think) and was designed accordingly. Certain
aspects of how breakpoint.c handles watchpoints cannot be understood
without having this in mind. For example, why on Earth are
software watchpoints and hardware watchpoints handled differently from
read and access watchpoints? why are hardware breakpoints treated like
normal breakpoints instead of being akin to watchpoints? etc., etc.