From 8d7337bf3de918177d76eb252e5194ce9b91242b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 19 Jun 2005 20:08:37 +0000 Subject: [PATCH] * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype. Change type of second argument to`gdb_byte *'. --- gdb/ChangeLog | 5 +++++ gdb/remote-sim.c | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7dc0b6acc28..c5479557d8d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2005-06-19 Mark Kettenis + + * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype. + Change type of second argument to`gdb_byte *'. + 2005-06-19 Nick Roberts * mi/mi-cmd-stack.c (mi_cmd_stack_info_frame): New function. diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 802c0b0ed19..6341b3c07f6 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -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) { -- 2.30.2