From: J.T. Conklin Date: Wed, 24 Jan 2001 00:26:46 +0000 (+0000) Subject: * lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5da8f389f1dee6f7c362ec3904f42b5a481f3b4;p=binutils-gdb.git * lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument. * thread-db.c (thread_db_xfer_memory): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e843f40035..d17d68b4831 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -7,6 +7,7 @@ * exec.c (xfer_memory): Add attrib argument. * infptrace.c (child_xfer_memory): Likewise. + * lin-lwp.c (lin_lwp_xfer_memory): Likewise. * monitor.c (monitor_xfer_memory): Likewise. * remote-adapt.c (adapt_xfer_inferior_memory): Likewise. * remote-array.c (array_xfer_memory): Likewise. @@ -28,6 +29,7 @@ * remote.c (remote_xfer_memory): Likewise. * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise. * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise. + * thread-db.c (thread_db_xfer_memory): Likewise. * target.h (#include "memattr.h"): Added. (target_ops.to_xfer_memory): Add attrib argument. diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index bf52e2feaa2..94af2e82684 100644 --- a/gdb/lin-lwp.c +++ b/gdb/lin-lwp.c @@ -935,6 +935,7 @@ lin_lwp_store_registers (int regno) static int lin_lwp_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, + struct mem_attrib *attrib, struct target_ops *target) { struct cleanup *old_chain = save_inferior_pid (); @@ -943,7 +944,7 @@ lin_lwp_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, if (is_lwp (inferior_pid)) inferior_pid = GET_LWP (inferior_pid); - xfer = child_xfer_memory (memaddr, myaddr, len, write, target); + xfer = child_xfer_memory (memaddr, myaddr, len, write, attrib, target); do_cleanups (old_chain); return xfer; diff --git a/gdb/thread-db.c b/gdb/thread-db.c index ed278610a77..f425bf489e5 100644 --- a/gdb/thread-db.c +++ b/gdb/thread-db.c @@ -753,6 +753,7 @@ thread_db_wait (int pid, struct target_waitstatus *ourstatus) static int thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, + struct mem_attrib *attrib, struct target_ops *target) { struct cleanup *old_chain = save_inferior_pid (); @@ -768,7 +769,7 @@ thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, inferior_pid = lwp_from_thread (inferior_pid); } - xfer = target_beneath->to_xfer_memory (memaddr, myaddr, len, write, target); + xfer = target_beneath->to_xfer_memory (memaddr, myaddr, len, write, attrib, target); do_cleanups (old_chain); return xfer;