* lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument.
authorJ.T. Conklin <jtc@acorntoolworks.com>
Wed, 24 Jan 2001 00:26:46 +0000 (00:26 +0000)
committerJ.T. Conklin <jtc@acorntoolworks.com>
Wed, 24 Jan 2001 00:26:46 +0000 (00:26 +0000)
* thread-db.c (thread_db_xfer_memory): Likewise.

gdb/ChangeLog
gdb/lin-lwp.c
gdb/thread-db.c

index 6e843f40035efc99110aa13625c8b3129c5e9d05..d17d68b48318d85d336f2f4bf2612413c89a2018 100644 (file)
@@ -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.
index bf52e2feaa2c189d668b9b47c44b8ca8bc034cde..94af2e82684e66223eef98d0c58da824f11f7826 100644 (file)
@@ -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;
index ed278610a77a0250a8df6387b090e57e09620210..f425bf489e5167e1b6424bc025f569fffafefd84 100644 (file)
@@ -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;
This page took 0.037572 seconds and 4 git commands to generate.