* remote.c (remote_binary_download, remote_binary_length): New
authorKeith Seitz <keiths@cygnus>
Wed, 3 Feb 1999 17:02:01 +0000 (17:02 +0000)
committerKeith Seitz <keiths@cygnus>
Wed, 3 Feb 1999 17:02:01 +0000 (17:02 +0000)
commit62286abf6e959321f203cb8f56636914205bea5e
tree35bb8a842cc8e86416abe1aa27d1629f77fb1221
parent977c3ef0890177a79bc4111aff5356d85ee362b3
    * remote.c (remote_binary_download, remote_binary_length): New
        static globals for dealing with binary transmissions.
        (remote_write_bytes): Add support for binary downloads
        by shadowing the "M" packet with a new "X" packet. This
        defaults to ON; if the stub does not understand this, it
        will fall back to using "M".
        (putpkt): Add support for binary downloading.
        * monitor.c (monitor_expect): The mon2000 monitor
        on the MSA2000 will also emit random DC1/DC3 chars.
        * m32r-stub.c: Change all char's to unsigned char's
        to support binary downloading.
        (handle_exception): Add support for binary downloading
        via a new "X" packet.
        (getpacket): Do NOT strip eighth bit of incoming chars.
        Watch out for escaped characters in the incoming stream.
        (putpacket): Do NOT strip eighth bit of incoming chars.
        (bin2mem): New function to write binary data directly to
        memory.
        * m32r-rom.c: Add new "mon2000" target.
gdb/ChangeLog