From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Mark Kettenis Cc: msnyder@cygnus.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Make Linux use the new unified x86 watchpoint support Date: Tue, 27 Mar 2001 02:20:00 -0000 Message-id: References: <200103271005.f2RA5sf21853@debye.wins.uva.nl> X-SW-Source: 2001-03/msg00493.html 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.