diff options
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/target.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3a4fcef..2b25ebf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2005-12-07 Jim Blandy <jimb@redhat.com> + * 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 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, |