This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Cleanup i386-tdep.c


Mark Kettenis wrote:
> 
> Ah, but, unless I'm missing something, there's absolutely no support
> for "host side watchpoints" and "target access to the hardware
> watchpoint registers" for i386 targets in the current sources.  I'd
> still like to have the stuff Eli is hacking on in i386-nat.c.  We can
> always move that stuff into i386-tdep.c if someone ever feels the need
> to implement host size watchpoints for an i386 target.
> 

There is a i386 remote target that has remote side implementation of
hardware breakpoints (using the Z packets as Andrew said).  As soon as
the hardware device necessary for this becomes available, I will submit
some patches to the list.

I also know another target that has access to the debug registers but
does not have the hardware breakpoint implementation.  It would be nice
to use its capability of accessing these registers to implement
watchpoints.

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]