summaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-16 16:36:24 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-16 16:36:24 +0000
commit72c9661d7ec78602c996c96486a69d46787727ed (patch)
treed6770c0aac91e0a77bc097df467ff17baa32680c /gdb/corelow.c
parent0cee1b834a9c3c8749ea9be87a5889ef8f5aaad9 (diff)
downloadgdb-72c9661d7ec78602c996c96486a69d46787727ed.tar.gz
* corelow.c (core_xfer_partial): Change type of readbuf and
writebuf to `gdb_byte *'. * sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * bsd-kvm.c (bsd_kvm_xfer_memory): Replace. (bsd_kvm_xfer_partial): New function. (bsd_kvm_add_target): Set to_xfer_partial instead of to_xfer_memory. * bfd-target.c (target_bfd_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * target.c (deprecated_debug_xfer_memory): Remove prototype. (deprecated_debug_xfer_memory): Change type of second argument to `gdb_byte *'. * remote.c (remote_xfer_memory): Remove prototype. (remote_xfer_memory): Change type of second argument to `gdb_byte *'. (remote_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index ea37df5d0a0..3e70ed4bfae 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -1,8 +1,8 @@
/* Core dump and executable file functions below target vector, for GDB.
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software Foundation,
- Inc.
+ 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -532,8 +532,8 @@ core_files_info (struct target_ops *t)
static LONGEST
core_xfer_partial (struct target_ops *ops, enum target_object object,
- const char *annex, void *readbuf,
- const void *writebuf, ULONGEST offset, LONGEST len)
+ const char *annex, gdb_byte *readbuf,
+ const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
{
switch (object)
{