From: Jim Blandy Date: Wed, 7 Dec 2005 19:35:43 +0000 (+0000) Subject: gdb/ChangeLog: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12c7def6674ae28ca18c7df2f10968cbf249efec;p=binutils-gdb.git gdb/ChangeLog: 2005-12-07 Jim Blandy * target.c (target_xfer_memory_partial): Doc fix. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3a4fcef42da..2b25ebfd479 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2005-12-07 Jim Blandy + * target.c (target_xfer_memory_partial): Doc fix. + * ax-general.c (ax_reqs): Check stack heights for backward jumps, too. Correctly check height at target. Doc fixes. diff --git a/gdb/target.c b/gdb/target.c index d842f5066bb..eb825e0280f 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,