projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* target.c (target_xfer_memory_partial): Return -1 on failure due
[external/binutils.git]
/
gdb
/
target.c
diff --git
a/gdb/target.c
b/gdb/target.c
index
8c76f07
..
87d392b
100644
(file)
--- a/
gdb/target.c
+++ b/
gdb/target.c
@@
-991,7
+991,7
@@
target_xfer_memory_partial (CORE_ADDR memaddr, char *myaddr, int len,
if (write_p)
{
*err = EIO;
- return
0
;
+ return
-1
;
}
break;
@@
-999,7
+999,7
@@
target_xfer_memory_partial (CORE_ADDR memaddr, char *myaddr, int len,
if (write_p)
{
*err = EIO;
- return
0
;
+ return
-1
;
}
break;
}