mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
2004-10-08 Andrew Cagney <cagney@gnu.org>
* target.h (struct target_ops): Rename to_xfer_memory to deprecated_xfer_memory. * target.c: Update. (deprecated_debug_xfer_memory): Rename debug_to_xfer_memory. * wince.c: Update. * win32-nat.c: Update. * v850ice.c: Update. * uw-thread.c: Update. * thread-db.c: Update. * sol-thread.c: Update. * remote.c: Update. * remote-vx.c: Update. * remote-st.c: Update. * remote-sim.c: Update. * remote-sds.c: Update. * remote-rdp.c: Update. * remote-rdi.c: Update. * remote-mips.c: Update. * remote-m32r-sdi.c: Update. * remote-e7000.c: Update. * procfs.c: Update. * ppc-bdm.c: Update. * nto-procfs.c: Update. * monitor.c: Update. * linux-nat.c: Update. * inftarg.c: Update. * hpux-thread.c: Update. * go32-nat.c: Update. * gnu-nat.c: Update. * exec.c: Update. * corelow.c: Update. * bsd-kvm.c: Update. * aix-thread.c: Update.
This commit is contained in:
@@ -538,11 +538,11 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
|
||||
{
|
||||
case TARGET_OBJECT_MEMORY:
|
||||
if (readbuf)
|
||||
return (*ops->to_xfer_memory) (offset, readbuf, len, 0/*write*/,
|
||||
NULL, ops);
|
||||
return (*ops->deprecated_xfer_memory) (offset, readbuf, len,
|
||||
0/*write*/, NULL, ops);
|
||||
if (writebuf)
|
||||
return (*ops->to_xfer_memory) (offset, readbuf, len, 1/*write*/,
|
||||
NULL, ops);
|
||||
return (*ops->deprecated_xfer_memory) (offset, readbuf, len,
|
||||
1/*write*/, NULL, ops);
|
||||
return -1;
|
||||
|
||||
case TARGET_OBJECT_AUXV:
|
||||
@@ -655,7 +655,7 @@ init_core_ops (void)
|
||||
core_ops.to_detach = core_detach;
|
||||
core_ops.to_fetch_registers = get_core_registers;
|
||||
core_ops.to_xfer_partial = core_xfer_partial;
|
||||
core_ops.to_xfer_memory = xfer_memory;
|
||||
core_ops.deprecated_xfer_memory = xfer_memory;
|
||||
core_ops.to_files_info = core_files_info;
|
||||
core_ops.to_insert_breakpoint = ignore;
|
||||
core_ops.to_remove_breakpoint = ignore;
|
||||
|
||||
Reference in New Issue
Block a user