Move symfile.c:generic_load()? Was: RFA: patch to remote.c for larger download packet support (part 1)

J.T. Conklin jtc@redback.com
Fri Oct 15 10:49:00 GMT 1999


>>>>> "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


More information about the Gdb-patches mailing list