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-Tag: drow-reverse-20070409-branchpoint~261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9dea8ca21c7efc458a1e2196ccf44200a64328b0;p=external%2Fbinutils.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 86cfe54..2624660 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. 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. */