PATCH: doc fix for target_xfer_memory_partial
Jim Blandy
jimb@red-bean.com
Thu Dec 8 04:41:00 GMT 2005
Committed as obvious.
gdb/ChangeLog:
2005-12-07 Jim Blandy <jimb@redhat.com>
* target.c (target_xfer_memory_partial): Doc fix.
Index: gdb/target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.111
diff -c -p -r1.111 target.c
*** gdb/target.c 4 Sep 2005 16:18:20 -0000 1.111
--- gdb/target.c 7 Dec 2005 19:34:35 -0000
*************** target_xfer_memory (CORE_ADDR memaddr, g
*** 1175,1181 ****
/* Perform a partial memory transfer.
! Result is -1 on error, or the number of bytes transfered. */
static int
target_xfer_memory_partial (CORE_ADDR memaddr, char *myaddr, int len,
--- 1175,1182 ----
/* Perform a partial memory transfer.
! If we succeed, set *ERR to zero and return the number of bytes transferred.
! If we fail, set *ERR to a non-zero errno value, and return -1. */
static int
target_xfer_memory_partial (CORE_ADDR memaddr, char *myaddr, int len,
More information about the Gdb-patches
mailing list