aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/target.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7611dbb..4f2e27a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-14 Doug Evans <dje@google.com>
+
+ * target.c (target_write_partial): Fix result type.
+
2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
diff --git a/gdb/target.c b/gdb/target.c
index f08dad0..92d5e39 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -2074,7 +2074,7 @@ target_read_partial (struct target_ops *ops,
xfered_len);
}
-static LONGEST
+static enum target_xfer_status
target_write_partial (struct target_ops *ops,
enum target_object object,
const char *annex, const gdb_byte *buf,