aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-02-14 14:57:37 -0800
committerDoug Evans <dje@google.com>2014-02-14 14:57:37 -0800
commit8a55ffb08261d3d62141e092f77680fdab1fc486 (patch)
treee650e91b27dc93c844ab698c16faa575c5257062 /gdb
parentc2853f3d99797a321c37948297441ca6021f719a (diff)
downloadgdb-8a55ffb08261d3d62141e092f77680fdab1fc486.zip
gdb-8a55ffb08261d3d62141e092f77680fdab1fc486.tar.gz
gdb-8a55ffb08261d3d62141e092f77680fdab1fc486.tar.bz2
* target.c (target_write_partial): Fix result type.
Diffstat (limited to 'gdb')
-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,