summaryrefslogtreecommitdiff
path: root/gdb/spu-linux-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-03-08 23:54:24 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-03-08 23:54:24 +0000
commit64326f62783b07a7ced6131d4aea2cdb2e6fd376 (patch)
treeba04d450446625d3aa1473ae4e7233b08379f968 /gdb/spu-linux-nat.c
parent3728f2835e1407274f8d83467ed377104ca4ddac (diff)
downloadgdb-64326f62783b07a7ced6131d4aea2cdb2e6fd376.tar.gz
* spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
object types, not 0.
Diffstat (limited to 'gdb/spu-linux-nat.c')
-rw-r--r--gdb/spu-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c
index 8d49baf31dc..7f71b585a00 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. */