From 8a55ffb08261d3d62141e092f77680fdab1fc486 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 14 Feb 2014 14:57:37 -0800 Subject: [PATCH] * target.c (target_write_partial): Fix result type. --- gdb/ChangeLog | 4 ++++ gdb/target.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7611dbb68f5..4f2e27ad143 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-02-14 Doug Evans + + * target.c (target_write_partial): Fix result type. + 2014-02-14 Jose E. Marchesi * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register diff --git a/gdb/target.c b/gdb/target.c index f08dad0add7..92d5e3943a1 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, -- 2.30.2