mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
* 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 *'.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
/* Native-dependent code for SPARC.
|
||||
|
||||
Copyright 2003, 2004 Free Software Foundation, Inc.
|
||||
Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -255,8 +255,8 @@ store_inferior_registers (int regnum)
|
||||
|
||||
LONGEST
|
||||
sparc_xfer_wcookie (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)
|
||||
{
|
||||
unsigned long wcookie = 0;
|
||||
char *buf = (char *)&wcookie;
|
||||
@ -307,13 +307,13 @@ sparc_xfer_wcookie (struct target_ops *ops, enum target_object object,
|
||||
}
|
||||
|
||||
LONGEST (*inf_ptrace_xfer_partial) (struct target_ops *, enum target_object,
|
||||
const char *, void *, const void *,
|
||||
const char *, gdb_byte *, const gdb_byte *,
|
||||
ULONGEST, LONGEST);
|
||||
|
||||
static LONGEST
|
||||
sparc_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)
|
||||
{
|
||||
if (object == TARGET_OBJECT_WCOOKIE)
|
||||
return sparc_xfer_wcookie (ops, object, annex, readbuf, writebuf,
|
||||
|
Reference in New Issue
Block a user