diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-06-19 20:08:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-06-19 20:08:37 +0000 |
commit | 8d7337bf3de918177d76eb252e5194ce9b91242b (patch) | |
tree | d77eec457af97207e10facf75ac759755d07080b /gdb | |
parent | dcaaae044f52934d5196477f452194ba7f10ad68 (diff) | |
download | gdb-8d7337bf3de918177d76eb252e5194ce9b91242b.zip gdb-8d7337bf3de918177d76eb252e5194ce9b91242b.tar.gz gdb-8d7337bf3de918177d76eb252e5194ce9b91242b.tar.bz2 |
* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
Change type of second argument to`gdb_byte *'.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote-sim.c | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7dc0b6a..c547955 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 802c0b0..6341b3c 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) { |