aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-12-07 19:35:43 +0000
committerJim Blandy <jimb@codesourcery.com>2005-12-07 19:35:43 +0000
commit12c7def6674ae28ca18c7df2f10968cbf249efec (patch)
treed79af6464f974c6bba9a242b70ee3b436210ef47 /gdb/target.c
parent3d269a592e0d4dc94d69433bfbea85efef4951f4 (diff)
downloadgdb-12c7def6674ae28ca18c7df2f10968cbf249efec.zip
gdb-12c7def6674ae28ca18c7df2f10968cbf249efec.tar.gz
gdb-12c7def6674ae28ca18c7df2f10968cbf249efec.tar.bz2
gdb/ChangeLog:
2005-12-07 Jim Blandy <jimb@redhat.com> * target.c (target_xfer_memory_partial): Doc fix.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index d842f50..eb825e0 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1175,7 +1175,8 @@ target_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write)
/* Perform a partial memory transfer.
- Result is -1 on error, or the number of bytes transfered. */
+ 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,