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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/spu-linux-nat.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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. (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. */ |