RFA: patch to remote.c for larger download packet support (part 1)

Frank Ch. Eigler fche@cygnus.com
Tue Oct 5 15:07:00 GMT 1999


Hi -

> [...] But with a user setabble maximum packet size,
> this becomes a much more likely problem.  

Right.

> Even if the variable is described as 'for experts only', I believe it
> is only prudent that error handling be tightened up.

Hmm.  It looks from the code like at least a "Ignoring packet error"
message would be printed in case of no response from the target (timeout),
and a proper signalling exit from remote_write_bytes() in case of
an error reply packet.  So either error should not go unnoticed.

So, what do you suggest as an extension to this?

- FChE


More information about the Gdb-patches mailing list