aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-e7000.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-03 22:42:32 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-03 22:42:32 +0000
commit69dc947abb7ab24bac6cf62db6d05e4b85c6758e (patch)
tree5a7ebbba181bc5dd532bb310aa24882531053d57 /gdb/remote-e7000.c
parentc2a94a7afd8ce232632857a50f40202272670a06 (diff)
downloadgdb-69dc947abb7ab24bac6cf62db6d05e4b85c6758e.zip
gdb-69dc947abb7ab24bac6cf62db6d05e4b85c6758e.tar.gz
gdb-69dc947abb7ab24bac6cf62db6d05e4b85c6758e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/remote-e7000.c')
-rw-r--r--gdb/remote-e7000.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c
index ae89e82..be88fef 100644
--- a/gdb/remote-e7000.c
+++ b/gdb/remote-e7000.c
@@ -795,9 +795,7 @@ gbyte (void)
}
void
-fetch_regs_from_dump (nextchar, want)
- int (*nextchar) ();
- char *want;
+fetch_regs_from_dump (int (*nextchar) (), char *want)
{
int regno;
char buf[MAX_REGISTER_RAW_SIZE];
@@ -1468,13 +1466,15 @@ fast_but_for_the_pause_e7000_read_inferior_memory (CORE_ADDR memaddr,
#endif
+/* Transfer LEN bytes between GDB address MYADDR and target address
+ MEMADDR. If WRITE is non-zero, transfer them to the target,
+ otherwise transfer them from the target. TARGET is unused.
+
+ Returns the number of bytes transferred. */
+
static int
-e7000_xfer_inferior_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- unsigned char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* ignored */
+e7000_xfer_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr,
+ int len, int write, struct target_ops *target)
{
if (write)
return e7000_write_inferior_memory (memaddr, myaddr, len);