projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace -1 with TARGET_XFER_E_IO
[deliverable/binutils-gdb.git]
/
gdb
/
rs6000-nat.c
diff --git
a/gdb/rs6000-nat.c
b/gdb/rs6000-nat.c
index 676edd9be5e68cdec56e7b45a09a6d321b4488c3..ec3f8123c0044c7cc6ee5a5c18f3250c59c3f241 100644
(file)
--- a/
gdb/rs6000-nat.c
+++ b/
gdb/rs6000-nat.c
@@
-476,7
+476,7
@@
rs6000_xfer_partial (struct target_ops *ops, enum target_object object,
}
default:
- return
-1
;
+ return
TARGET_XFER_E_IO
;
}
}
@@
-697,7
+697,7
@@
rs6000_xfer_shared_libraries
gdb_assert (target_has_execution);
if (writebuf)
- return
-1
;
+ return
TARGET_XFER_E_IO
;
ldi_buf = rs6000_ptrace_ldinfo (inferior_ptid);
gdb_assert (ldi_buf != NULL);
This page took
0.023957 seconds
and
4
git commands to generate.