From: Ulrich Weigand Date: Thu, 8 Mar 2007 23:54:24 +0000 (+0000) Subject: * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dea8ca21c7efc458a1e2196ccf44200a64328b0;p=binutils-gdb.git * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported object types, not 0. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 86cfe543720..2624660c362 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-03-08 Ulrich Weigand + + * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported + object types, not 0. + 2007-03-08 Ulrich Weigand * spu-tdep.c (spu_frame_align): New function. diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c index 8d49baf31dc..7f71b585a00 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. */