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.
This commit is contained in:
parent
9b409511d0
commit
edcc890fce
9 changed files with 29 additions and 19 deletions
|
@ -2473,7 +2473,8 @@ out:
|
|||
|
||||
|
||||
|
||||
/* Helper for gnu_xfer_partial that handles memory transfers. */
|
||||
/* Implement the to_xfer_partial target_ops method for
|
||||
TARGET_OBJECT_MEMORY. */
|
||||
|
||||
static enum target_xfer_status
|
||||
gnu_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue