diff options
author | Jim Blandy <jimb@codesourcery.com> | 2005-12-07 19:35:43 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2005-12-07 19:35:43 +0000 |
commit | 12c7def6674ae28ca18c7df2f10968cbf249efec (patch) | |
tree | d79af6464f974c6bba9a242b70ee3b436210ef47 /gdb | |
parent | 3d269a592e0d4dc94d69433bfbea85efef4951f4 (diff) | |
download | fsf-binutils-gdb-12c7def6674ae28ca18c7df2f10968cbf249efec.zip fsf-binutils-gdb-12c7def6674ae28ca18c7df2f10968cbf249efec.tar.gz fsf-binutils-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')
-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, |