From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: gdb-patches@sourceware.cygnus.com Cc: "J.T. Conklin" Subject: [PATCH]: go32_xfer_memory and memory attributes Date: Sat, 03 Feb 2001 23:46:00 -0000 Message-id: X-SW-Source: 2001-02/msg00037.html FYI: this change: 2001-01-23 J.T. Conklin * target.h (#include "memattr.h"): Added. (target_ops.to_xfer_memory): Add attrib argument. broke the DJGPP port, because the function which implements the to_xfer_memory method was not updated. I fixed that today with the following patch: 2001-02-04 Eli Zaretskii * go32-nat.c (go32_xfer_memory): Make the argument list consistent with target.h's to_xfer_memory member. --- gdb/go32-nat.c~0 Sun Aug 6 10:19:38 2000 +++ gdb/go32-nat.c Sat Feb 3 15:22:20 2001 @@ -157,7 +157,9 @@ static void go32_store_registers (int regno); static void go32_prepare_to_store (void); static int go32_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, - int write, struct target_ops *target); + int write, + struct mem_attrib *attrib, + struct target_ops *target); static void go32_files_info (struct target_ops *target); static void go32_stop (void); static void go32_kill_inferior (void); @@ -539,6 +541,7 @@ static int go32_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, + struct mem_attrib *attrib ATTRIBUTE_UNUSED, struct target_ops *target ATTRIBUTE_UNUSED) { if (write)