aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/spu-linux-nat.c2
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. */