This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Move symfile.c:generic_load()? Was: RFA: patch to remote.c for larger download packet support (part 1)
>>>>> "Frank" == Frank Ch Eigler <fche@cygnus.com> writes:
>> o verify download
>>
>> To, at run time, enable/disable the verification of a download.
Frank> In the same vane, consider an "verify crc" option that uses the
Frank> "qCRC" packet instead of explicit reads.
It's not quite that easy.
generic_load() is used by a many more targets than just the remote
protocol. Perhaps a target_verify_memory() function in the target
vector that can use whatever verification method (crc, checksums,
etc.) that may be available for a target before falling back to
memory read & compare..
--jtc
--
J.T. Conklin
RedBack Networks