diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-08 23:54:24 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-08 23:54:24 +0000 |
commit | 9dea8ca21c7efc458a1e2196ccf44200a64328b0 (patch) | |
tree | f9a86f429dac6834e46b2a2cc7140f58d47a548d /gdb/spu-linux-nat.c | |
parent | 5d34f09a0206e6dea684587749d58d34683c7836 (diff) | |
download | gdb-9dea8ca21c7efc458a1e2196ccf44200a64328b0.zip gdb-9dea8ca21c7efc458a1e2196ccf44200a64328b0.tar.gz gdb-9dea8ca21c7efc458a1e2196ccf44200a64328b0.tar.bz2 |
* spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
object types, not 0.
Diffstat (limited to 'gdb/spu-linux-nat.c')
-rw-r--r-- | gdb/spu-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c index 8d49baf..7f71b58 100644 --- a/gdb/spu-linux-nat.c +++ b/gdb/spu-linux-nat.c @@ -536,7 +536,7 @@ spu_xfer_partial (struct target_ops *ops, return spu_proc_xfer_spu (mem_annex, readbuf, writebuf, offset, len); } - return 0; + return -1; } /* Override the to_can_use_hw_breakpoint routine. */ |