This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: patch to remote.c for larger download packet support (part 1)
>>>>> "Frank" == Frank Ch Eigler <fche@cygnus.com> writes:
>> But since neither error is caught, the user has no reason to
>> believe that the write did not succeed. [...]
Frank> There was no change to this part. To whatever extent download
Frank> errors have been reported in the past, they still would be.
I understand that. But before your change, the chance that GDB would
send a memory write packet larger than the target's debug agent could
handle was rather low. But with a user setabble maximum packet size,
this becomes a much more likely problem.
Even if the variable is described as 'for experts only', I believe it
is only prudent that error handling be tightened up.
--jtc
--
J.T. Conklin
RedBack Networks