[obv] Fix return type of darwin_xfer_partial

Stan Shebs stanshebs@earthlink.net
Thu Feb 20 00:52:00 GMT 2014


With this just-pushed tweak, Darwin native builds again.

Stan
stan@codesourcery.com

2014-02-19  Stan Shebs  <stan@codesourcery.com>

	* darwin-nat.c (darwin_xfer_partial): Fix return type.

diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 8557470..88cecf3 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -1919,7 +1919,7 @@ darwin_read_dyld_info (task_t task, CORE_ADDR
addr, gdb_byte *rdaddr,




-static LONGEST
+static enum target_xfer_status
 darwin_xfer_partial (struct target_ops *ops,
 		     enum target_object object, const char *annex,
 		     gdb_byte *readbuf, const gdb_byte *writebuf,



More information about the Gdb-patches mailing list