diff options
author | Pedro Alves <palves@redhat.com> | 2014-02-26 14:36:04 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-02-26 14:39:23 +0000 |
commit | 7a44e40e8b7e2f91d66930cdf1fe5fed0ba9c584 (patch) | |
tree | 2886f5b5bf6d9dee2c51f887df6ab645de7e6fb4 /gdb/inferior.c | |
parent | bd265cd0bde9e045ab5946532449430b66fe91ad (diff) | |
download | gdb-7a44e40e8b7e2f91d66930cdf1fe5fed0ba9c584.zip gdb-7a44e40e8b7e2f91d66930cdf1fe5fed0ba9c584.tar.gz gdb-7a44e40e8b7e2f91d66930cdf1fe5fed0ba9c584.tar.bz2 |
eliminate target_ops->deprecated_xfer_memory
As no target uses it anymore, it can finally go away.
After removing the deprecated_xfer_memory handling from
default_xfer_partial, we can delete the latter, because the only thing
it does is delegate to the target beneath unconditionally, which is
what the delegator installed by target-delegates.c will do for us if
no to_xfer_partial method is installed.
This was the last user of de_fault, so that goes away too.
Tested on x86_64 Fedora 17.
gdb/
2014-02-26 Pedro Alves <palves@redhat.com>
* target.c (complete_target_initialization): Don't install
default_xfer_partial as to_xfer_partial hook.
(nomemory): Delete.
(update_current_target): Don't INHERIT nor de_fault
deprecated_xfer_memory. Delete de_fault macro.
(default_xfer_partial, deprecated_debug_xfer_memory): Delete.
(setup_target_debug): Don't install a deprecated_xfer_memory hook.
* target.h (struct target_ops) <deprecated_xfer_memory>: Delete
field.
Diffstat (limited to 'gdb/inferior.c')
0 files changed, 0 insertions, 0 deletions