OSDN Git Service

* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
authorMark Kettenis <kettenis@gnu.org>
Sun, 19 Jun 2005 20:08:37 +0000 (20:08 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 19 Jun 2005 20:08:37 +0000 (20:08 +0000)
Change type of second argument to`gdb_byte *'.

gdb/ChangeLog
gdb/remote-sim.c

index 7dc0b6a..c547955 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
+       Change type of second argument to`gdb_byte *'.
+
 2005-06-19  Nick Roberts  <nickrob@snap.net.nz>
 
        * mi/mi-cmd-stack.c (mi_cmd_stack_info_frame): New function.
index 802c0b0..6341b3c 100644 (file)
@@ -1,7 +1,7 @@
 /* Generic remote debugging interface for simulators.
 
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-   2002, 2004 Free Software Foundation, Inc.
+   2002, 2004, 2005 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
    Steve Chamberlain (sac@cygnus.com).
@@ -93,11 +93,6 @@ static ptid_t gdbsim_wait (ptid_t ptid, 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 mem_attrib *attrib,
-                                       struct target_ops *target);
-
 static void gdbsim_files_info (struct target_ops *target);
 
 static void gdbsim_mourn_inferior (void);
@@ -742,7 +737,7 @@ gdbsim_prepare_to_store (void)
    Returns the number of bytes transferred. */
 
 static int
-gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
+gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
                             int write, struct mem_attrib *attrib,
                             struct target_ops *target)
 {