This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[OB PATCH] target.c (target_write_partial): Fix result type.


Hi.

Committed as obvious.

2014-02-14  Doug Evans  <dje@google.com>

	* target.c (target_write_partial): Fix result type.

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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]