Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH]: go32_xfer_memory and memory attributes
@ 2001-02-03 23:46 Eli Zaretskii
  0 siblings, 0 replies; only message in thread
From: Eli Zaretskii @ 2001-02-03 23:46 UTC (permalink / raw)
  To: gdb-patches; +Cc: J.T. Conklin

FYI: this change:

   2001-01-23  J.T. Conklin  <jtc@redback.com>

          * 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  <eliz@is.elta.co.il>

	* 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-03 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-03 23:46 [PATCH]: go32_xfer_memory and memory attributes Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox