* spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported

object types, not 0.
This commit is contained in:
Ulrich Weigand 2007-03-08 23:54:24 +00:00
parent 5d34f09a02
commit 9dea8ca21c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
* spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
object types, not 0.
2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
* spu-tdep.c (spu_frame_align): New function.

View file

@ -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. */