diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 14:31:26 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 14:31:26 +0000 |
commit | 81f16b098bb8630046a04a1950e443218e3520c4 (patch) | |
tree | 388374ca0b1fc403669f5f492c36a2098fd05f3d /gdb/spu-linux-nat.c | |
parent | 22bc8e5b474020f2c24a28a9808d24ce186cc1af (diff) | |
download | gdb-81f16b098bb8630046a04a1950e443218e3520c4.tar.gz |
ChangeLog:
* spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when
accessing non-seekable spufs files.
gdbserver/ChangeLog:
* spu-low.c (spu_proc_xfer_spu): Do not return failure when
accessing non-seekable spufs files.
Diffstat (limited to 'gdb/spu-linux-nat.c')
-rw-r--r-- | gdb/spu-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c index 6f55f1adbf9..21a7c5d00d7 100644 --- a/gdb/spu-linux-nat.c +++ b/gdb/spu-linux-nat.c @@ -250,7 +250,7 @@ spu_proc_xfer_spu (const char *annex, gdb_byte *readbuf, && lseek (fd, (off_t) offset, SEEK_SET) != (off_t) offset) { close (fd); - return -1; + return 0; } if (writebuf) |