aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-01-03 10:33:44 +0800
committerYao Qi <yao@codesourcery.com>2014-01-14 22:20:37 +0800
commit0580464083068647909386211d6a3f22b3d1cf0e (patch)
tree36b89bc8512c0b9763f1ddf41a23657df976524c /gdb/rs6000-nat.c
parentc0a6c611f171a40b0c69fdc2fb29b75abfd90ba6 (diff)
downloadgdb-0580464083068647909386211d6a3f22b3d1cf0e.zip
gdb-0580464083068647909386211d6a3f22b3d1cf0e.tar.gz
gdb-0580464083068647909386211d6a3f22b3d1cf0e.tar.bz2
Use target_xfer_partial_ftype for rs6000_xfer_shared_libraries
Hi, We can use target_xfer_partial_ftype here for rs6000_xfer_shared_libraries declaration. gdb: 2014-01-14 Yao Qi <yao@codesourcery.com> * rs6000-nat.c (rs6000_xfer_shared_libraries): Use target_xfer_partial_ftype.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index a297376..da17b94 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