Hardware Watchpoints

Andrew Cagney ac131313@redhat.com
Thu Jan 2 15:16:00 GMT 2003


> Does anyone know if hardware watchpoints are supposed to work with the GDB standard remote protocol.  They are documented in the protocol (Z packets), and there even appears to be code in remote.c, but there seems to be no way to activate them.  What am I missing?
> 
> Yes, i tried "set remote Z-packet on" which seems to do not much useful.
> 
> Im using a very late snapshot just prior GDB 5.3, I don't recall seeing anything about this in the GDB 5.3 release notes.

They, er, almost work.  I found a problem when testing them just before 
taking my summer break.  Need to get the patch integrated.

Briefly, GDB thinks that the target supports zero hardware breakpoints 
and there is no way (minus editing a file) of changing this.

Andrew




More information about the Gdb mailing list