remote-m32r-sdi.c: Don't install a deprecated_xfer_memory method
authorPedro Alves <palves@redhat.com>
Wed, 26 Feb 2014 14:36:03 +0000 (14:36 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 26 Feb 2014 14:37:14 +0000 (14:37 +0000)
commita1583b1fd9aee80f886e8cdd90e1c7e27c5cbbc7
tree405d6994a4ffbcac53f07444c30564cad3641083
parent6df1b29f02837669d68b8f153b189502e798a302
remote-m32r-sdi.c: Don't install a deprecated_xfer_memory method

This removes yet another instance of a deprecated_xfer_memory user.

Tested by building a --enable-targets=all gdb, on x86-64 Fedora 17.

gdb/
2014-02-26  Pedro Alves  <palves@redhat.com>

* remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
(m32r_xfer_memory): Adjust as a to_xfer_partial helper.
(m32r_xfer_partial): New function.
(init_m32r_ops): Don't install a deprecated_xfer_memory hook.
Install a to_xfer_partial hook.
gdb/ChangeLog
gdb/remote-m32r-sdi.c