Remote protocol: Z-packets
Andrew Cagney
ac131313@ges.redhat.com
Fri Aug 16 10:48:00 GMT 2002
> The following function, a modified version of a patch written by
> Fernando Nasser, can be used to probe for hardware break/watchpoint
> support when called each time a watchpoint is created. This seems to
> be the best way of doing this, but if anyone can think of a better way
> I'd appreciate it.
>
> I also think that it would be a good idea to change the errors that
> are returned when insertion fails. Right now the same error is returned
> for a syntax error, a bad address, or when the breakpoint registers
> are full; so the error message the user gets cannot be very
> specific.
Hmm, would you have an example of this code in action; and any notes on
what protocol changes would be needed?
At present the protocol says nothing about how to probe for sub-packet
support.
Andrew
More information about the Gdb
mailing list