diff options
author | Pedro Alves <palves@redhat.com> | 2013-08-23 13:12:17 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-08-23 13:12:17 +0000 |
commit | 00d8452480aad3dbab5d660b242cffb27d45ce8f (patch) | |
tree | cd5faf1c2b7ef00453ef4cd4decfa7342572aea0 /gdb/ChangeLog | |
parent | 9aff4b7ac12edba0c170c2a55763c3973b708749 (diff) | |
download | gdb-00d8452480aad3dbab5d660b242cffb27d45ce8f.zip gdb-00d8452480aad3dbab5d660b242cffb27d45ce8f.tar.gz gdb-00d8452480aad3dbab5d660b242cffb27d45ce8f.tar.bz2 |
remote.c: don't install a deprecated_xfer_memory hook.
There's no need for deprecated_xfer_memory nowadays. Memory access
goes through target_xfer_partial/TARGET_OBJECT_MEMORY, etc. In fact,
the remote target already handles that, and is deferring to the same
helpers the deprecated_xfer_memory hook is. Basically, only a few
adjustments to make these helper routines's interfaces closer to
target_xfer_partial's were necessary.
Tested on x86_64 Fedora 17 w/ gdbserver.
gdb/
2013-08-23 Pedro Alves <palves@redhat.com>
* remote.c (remote_write_bytes_aux, remote_write_bytes)
(remote_read_bytes): Change return type to LONGEST, and adjust to
return a target_xfer_error on error.
(remote_xfer_memory): Delete.
(remote_flash_write): Change type of 'ret' local to LONGEST.
(remote_xfer_partial, remote_xfer_partial): Adjust.
(init_remote_ops): Don't install a deprecated_xfer_memory hook.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8b2bffa..7a19e60 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2013-08-23 Pedro Alves <palves@redhat.com> + + * remote.c (remote_write_bytes_aux, remote_write_bytes) + (remote_read_bytes): Change return type to LONGEST, and adjust to + return a target_xfer_error on error. + (remote_xfer_memory): Delete. + (remote_flash_write): Change type of 'ret' local to LONGEST. + (remote_xfer_partial, remote_xfer_partial): Adjust. + (init_remote_ops): Don't install a deprecated_xfer_memory hook. + 2013-08-23 Pierre Muller <muller@sourceware.org> ARI fix: Push # directives to start of line. |