diff options
Diffstat (limited to 'gdb/sparc-nat.c')
-rw-r--r-- | gdb/sparc-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index 2953c7c..05be02d 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -272,7 +272,7 @@ sparc_xfer_wcookie (struct target_ops *ops, enum target_object object, if (offset == sizeof (unsigned long)) return 0; /* Signal EOF. */ if (offset > sizeof (unsigned long)) - return -1; + return TARGET_XFER_E_IO; #ifdef PT_WCOOKIE /* If PT_WCOOKIE is defined (by <sys/ptrace.h>), assume we're |