Add ``attrib'' parameter to *xfer_memory() functions.
authorAndrew Cagney <cagney@redhat.com>
Thu, 15 Mar 2001 16:55:15 +0000 (16:55 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 15 Mar 2001 16:55:15 +0000 (16:55 +0000)
gdb/ChangeLog
gdb/gnu-nat.c
gdb/infttrace.c
gdb/lin-thread.c
gdb/mac-nat.c
gdb/procfs.c
gdb/symm-nat.c
gdb/wince.c

index 4ba5ea5..364029e 100644 (file)
@@ -1,3 +1,13 @@
+2001-03-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * wince.c (child_xfer_memory): Add attrib parameter.
+       * symm-nat.c (child_xfer_memory): Ditto.
+       * mac-nat.c (child_xfer_memory): Ditto.
+       * infttrace.c (child_xfer_memory): Ditto.
+       * procfs.c (procfs_xfer_memory): Ditto.
+       * lin-thread.c (thread_db_xfer_memory): Ditto.
+       * gnu-nat.c (gnu_xfer_memory): Ditto.
+
 2001-03-14  Andrew Cagney  <ac131313@redhat.com>
 
        * NEWS: Mention that Harris/CXUX m88k is obsolete.
@@ -50,7 +60,6 @@
        * config/nm-m3.h: Ditto.
        * config/nm-gnu.h: Ditto.
 
->>>>>>> 1.1049
 2001-03-14  Andrew Cagney  <ac131313@redhat.com>
 
        * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
index ae22844..54b543b 100644 (file)
@@ -2447,6 +2447,7 @@ out:
    is ignored. */
 static int
 gnu_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+                struct mem_attrib *attrib,
                 struct target_ops *target)
 {
   task_t task = (current_inferior
index 884ebbc..4cf1faa 100644 (file)
@@ -4917,6 +4917,7 @@ _initialize_kernel_u_addr (void)
 
 int
 child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+                  struct mem_attrib *attrib,
                   struct target_ops *target)
 {
   register int i;
index 9a3c244..8c4caff 100644 (file)
@@ -1216,6 +1216,7 @@ thread_db_files_info (struct target_ops *tgt_vector)
 
 static int
 thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
+                      struct mem_attrib *attrib,
                       struct target_ops *target)
 {
   struct cleanup *old_chain;
@@ -1232,7 +1233,7 @@ thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
     }
 
   ret = target_beneath->to_xfer_memory (memaddr, myaddr, len,
-                                          dowrite, target);
+                                       dowrite, attrib, target);
   do_cleanups (old_chain);
   return ret;
 }
index e4f3ab2..1a1daca 100644 (file)
@@ -225,8 +225,9 @@ child_stop (void)
 }
 
 int
-child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
-                  int write, struct target_ops *target)
+child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+                  struct mem_attrib *attrib,
+                  struct target_ops *target)
 {
   int i;
 
index d8c5f54..8586238 100644 (file)
@@ -113,8 +113,9 @@ static void procfs_kill_inferior (void);
 static void procfs_mourn_inferior (void);
 static void procfs_create_inferior (char *, char *, char **);
 static int procfs_wait (int, struct target_waitstatus *);
-static int procfs_xfer_memory (CORE_ADDR,
-                              char *, int, int, struct target_ops *);
+static int procfs_xfer_memory (CORE_ADDR, char *, int, int,
+                              struct mem_attrib *attrib,
+                              struct target_ops *);
 
 static int procfs_thread_alive (int);
 
@@ -3909,6 +3910,7 @@ wait_again:
 
 static int
 procfs_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
+                   struct mem_attrib *attrib,
                    struct target_ops *target)
 {
   procinfo *pi;
index a368dc8..f5e01a0 100644 (file)
@@ -748,6 +748,7 @@ detach (int signo)
 
 int
 child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+                  struct mem_attrib *attrib,
                   struct target_ops *target)
 {
   register int i;
index 0442c96..0fb06db 100644 (file)
@@ -1787,8 +1787,9 @@ child_mourn_inferior (void)
 
 /* Move memory from child to/from gdb. */
 int
-child_xfer_memory (CORE_ADDR memaddr, char *our, int len,
-                  int write, struct target_ops *target)
+child_xfer_memory (CORE_ADDR memaddr, char *our, int len, int write,
+                  struct mem_attrib *attrib,
+                  struct target_ops *target)
 {
   if (len <= 0)
     return 0;