diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-30 16:18:57 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-30 16:18:57 +0000 |
commit | 0779438dba11a355a0b4e273027eb72e8b8f2bfd (patch) | |
tree | 4b7583e7d0a2ea18ccdaafe418fd47bb0b14e1d6 /gdb/inf-ptrace.c | |
parent | f929a5791d64e48f9abee0467d3a7b1ca4bc0bf0 (diff) | |
download | gdb-0779438dba11a355a0b4e273027eb72e8b8f2bfd.zip gdb-0779438dba11a355a0b4e273027eb72e8b8f2bfd.tar.gz gdb-0779438dba11a355a0b4e273027eb72e8b8f2bfd.tar.bz2 |
2004-09-30 Andrew Cagney <cagney@gnu.org>
* inf-ptrace.c (inf_ptrace_target): Do not set to_xfer_memory.
(inf_ptrace_xfer_memory): Delete.
* target.c (target_xfer_partial_p, xfer_using_stratum): New.
(target_read_memory, target_write_memory): Use xfer_using_stratum
when target_xfer_partial_p.
(debug_target): Move to start of file.
(target_read_memory_partial, target_write_memory_partial): Use
to_xfer_partial when target_xfer_partial_p.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r-- | gdb/inf-ptrace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index 7c37a04..8754af7 100644 --- a/gdb/inf-ptrace.c +++ b/gdb/inf-ptrace.c @@ -742,7 +742,6 @@ inf_ptrace_target (void) t->to_resume = inf_ptrace_resume; t->to_wait = inf_ptrace_wait; t->to_prepare_to_store = inf_ptrace_prepare_to_store; - t->to_xfer_memory = inf_ptrace_xfer_memory; t->to_xfer_partial = inf_ptrace_xfer_partial; t->to_files_info = inf_ptrace_files_info; t->to_kill = inf_ptrace_kill_inferior; |