This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Fix return type of darwin_xfer_partial
- From: Stan Shebs <stanshebs at earthlink dot net>
- To: gdb-patches at sourceware dot org
- Date: Wed, 19 Feb 2014 16:52:43 -0800
- Subject: [obv] Fix return type of darwin_xfer_partial
- Authentication-results: sourceware.org; auth=none
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,