diff options
author | Yao Qi <yao@codesourcery.com> | 2014-01-30 08:23:14 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-02-11 14:20:39 +0800 |
commit | edcc890fce07a26950e5a24f4edc7664b0d4e1f5 (patch) | |
tree | 088eb27f44799e653c3a411bfaf9bf9df0140649 /gdb/rs6000-nat.c | |
parent | 9b409511d07fe375284701af34909fb539029caf (diff) | |
download | gdb-edcc890fce07a26950e5a24f4edc7664b0d4e1f5.zip gdb-edcc890fce07a26950e5a24f4edc7664b0d4e1f5.tar.gz gdb-edcc890fce07a26950e5a24f4edc7664b0d4e1f5.tar.bz2 |
Update comments to to_xfer_partial implementations.
Some comments to to_xfer_partial implementations are out of date.
This patch updates them using the "Implement the to_xfer_partial
target_ops method" pattern.
gdb:
2014-02-11 Yao Qi <yao@codesourcery.com>
* aix-thread.c (aix_thread_xfer_partial): Update comments.
* auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
* bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
* gnu-nat.c (gnu_xfer_memory): Likewise.
* inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
* rs6000-nat.c (rs6000_xfer_partial): Likewise.
* sparc-nat.c (sparc_xfer_wcookie): Likewise.
* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 81a0874..4ba955c 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -374,10 +374,7 @@ rs6000_store_inferior_registers (struct target_ops *ops, } } - -/* Attempt a transfer all LEN bytes starting at OFFSET between the - inferior's OBJECT:ANNEX space and GDB's READBUF/WRITEBUF buffer. - Return the number of bytes actually transferred. */ +/* Implement the to_xfer_partial target_ops method. */ static enum target_xfer_status rs6000_xfer_partial (struct target_ops *ops, enum target_object object, |