summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rs6000-nat.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c4e1301a15c..e5028672e78 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-14 Yao Qi <yao@codesourcery.com>
+
+ * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
+ target_xfer_partial_ftype.
+
2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
PR python/15464
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index a297376419e..da17b94d0bc 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -79,10 +79,7 @@
static void exec_one_dummy_insn (struct regcache *);
-static LONGEST rs6000_xfer_shared_libraries
- (struct target_ops *ops, enum target_object object,
- const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf,
- ULONGEST offset, LONGEST len);
+static target_xfer_partial_ftype rs6000_xfer_shared_libraries;
/* Given REGNO, a gdb register number, return the corresponding
number suitable for use as a ptrace() parameter. Return -1 if