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]

RFC: Return number of bytes written in M packet


Hello,

This is intended to close what I think is a hole in the current memory 
write packet - there isn't a way that a target can report back a partial 
(i.e. fragmanted) write.

The change is simple.  As well as:

	<- "OK"
	<- ""
	<- "Enn"

allow:

	<- <BE-hex-nr-bytes-written>

as a reply.

Memory reads already allow partial transfers.

	Andrew


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