diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-11-06 04:53:14 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-11-06 04:53:14 +0000 |
commit | 386c5a81ecb82b9ff655f18c6560ed861aa8925d (patch) | |
tree | a9de291e72f281ed070286a094e2279706d4f429 /gdb/v850ice.c | |
parent | adf33a6b291deaca3834aeb124c618d707704fd7 (diff) | |
download | gdb-386c5a81ecb82b9ff655f18c6560ed861aa8925d.tar.gz |
Protoization.
Diffstat (limited to 'gdb/v850ice.c')
-rw-r--r-- | gdb/v850ice.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/gdb/v850ice.c b/gdb/v850ice.c index d41c674beb8..6ce875ae4c0 100644 --- a/gdb/v850ice.c +++ b/gdb/v850ice.c @@ -584,18 +584,15 @@ v850ice_prepare_to_store (void) /* Read or write LEN bytes from inferior memory at MEMADDR, transferring to or from debugger address MYADDR. Write to inferior if SHOULD_WRITE is - nonzero. Returns length of data written or read; 0 for error. + nonzero. TARGET is unused. Returns length of data written or read; + 0 for error. We can only read/write MAX_BLOCK_SIZE bytes at a time, though, or the DLL - dies */ + dies. */ /* ARGSUSED */ static int -v850ice_xfer_memory (memaddr, myaddr, len, should_write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int should_write; - struct target_ops *target; /* ignored */ +v850ice_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, + int should_write, struct target_ops *target) { long retval; char cmd[100]; @@ -826,11 +823,7 @@ ice_cont (char *c) } static void -do_gdb (cmd, str, func, count) - char *cmd; - char *str; - void (*func) (char *, int); - int count; +do_gdb (char *cmd, char *str, void (*func) (char *, int), int count) { ReplyMessage ((LRESULT) 1); |