* spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 8 Mar 2007 23:54:24 +0000 (23:54 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 8 Mar 2007 23:54:24 +0000 (23:54 +0000)
object types, not 0.

gdb/ChangeLog
gdb/spu-linux-nat.c

index 86cfe543720685147b300b5afc77289ba95b7e09..2624660c36202f3e0ca2f337b3716df4dda5ed8c 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 8d49baf31dc531bf2f1ba5b4294bca5901744dcc..7f71b585a006ab94e7e84b3f8282a6580855474b 100644 (file)
@@ -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.  */
This page took 0.027602 seconds and 4 git commands to generate.