From 12c7def6674ae28ca18c7df2f10968cbf249efec Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 7 Dec 2005 19:35:43 +0000 Subject: [PATCH] gdb/ChangeLog: 2005-12-07 Jim Blandy * target.c (target_xfer_memory_partial): Doc fix. --- gdb/ChangeLog | 2 ++ gdb/target.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 + * 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, -- 2.7.4