* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index 8b03b889cefd8b2a37f534a6fc495be4a8017148..8c2e75309e6e8caccad74f5d6ed570aebde18a55 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic remote debugging interface for simulators.
-   Copyright 1993, 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
+   Copyright 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
    Steve Chamberlain (sac@cygnus.com).
 
@@ -91,9 +91,10 @@ static int gdbsim_wait (int pid, struct target_waitstatus *status);
 
 static void gdbsim_prepare_to_store (void);
 
-static int gdbsim_xfer_inferior_memory (CORE_ADDR memaddr,
-                                       char *myaddr, int len,
-                                       int write, struct target_ops *target);
+static int gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, 
+                                       int len, int write,
+                                       struct mem_attrib *attrib,
+                                       struct target_ops *target);
 
 static void gdbsim_files_info (struct target_ops *target);
 
@@ -714,7 +715,9 @@ gdbsim_prepare_to_store (void)
 
 static int
 gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
-                            int write, struct target_ops *target)
+                            int write, 
+                            struct mem_attrib *attrib ATTRIBUTE_UNUSED,
+                            struct target_ops *target ATTRIBUTE_UNUSED)
 {
   if (!program_loaded)
     error ("No program loaded.");
This page took 0.023693 seconds and 4 git commands to generate.