This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: Remote protocol: Z-packets


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



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