aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-06-19 20:08:37 +0000
committerMark Kettenis <kettenis@gnu.org>2005-06-19 20:08:37 +0000
commit8d7337bf3de918177d76eb252e5194ce9b91242b (patch)
treed77eec457af97207e10facf75ac759755d07080b /gdb/remote-sim.c
parentdcaaae044f52934d5196477f452194ba7f10ad68 (diff)
downloadgdb-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/remote-sim.c')
-rw-r--r--gdb/remote-sim.c9
1 files changed, 2 insertions, 7 deletions
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)
{