* spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
object types, not 0.
This commit is contained in:
parent
5d34f09a02
commit
9dea8ca21c
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* spu-tdep.c (spu_frame_align): New function.
|
* spu-tdep.c (spu_frame_align): New function.
|
||||||
|
|
|
@ -536,7 +536,7 @@ spu_xfer_partial (struct target_ops *ops,
|
||||||
return spu_proc_xfer_spu (mem_annex, readbuf, writebuf, offset, len);
|
return spu_proc_xfer_spu (mem_annex, readbuf, writebuf, offset, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Override the to_can_use_hw_breakpoint routine. */
|
/* Override the to_can_use_hw_breakpoint routine. */
|
||||||
|
|
Loading…
Reference in a new issue