diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-10-10 05:17:25 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-10-10 05:17:25 +0000 |
commit | 120abad8b7c1433b48d5d1c8fb43b19b20feccd9 (patch) | |
tree | de8040fd69afbe9fd3e1fd94c2047da4600dd524 /gdb/remote-nindy.c | |
parent | 23a87948dded8c5a7b832e3f5f86dbdd442e7053 (diff) | |
download | gdb-120abad8b7c1433b48d5d1c8fb43b19b20feccd9.zip gdb-120abad8b7c1433b48d5d1c8fb43b19b20feccd9.tar.gz gdb-120abad8b7c1433b48d5d1c8fb43b19b20feccd9.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r-- | gdb/remote-nindy.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index 807000d..c5e0a4a 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -240,14 +240,13 @@ nindy_files_info (void) nindy_initial_brk ? " with initial break" : ""); } -/* Return the number of characters in the buffer before - the first DLE character. */ +/* Return the number of characters in the buffer BUF before + the first DLE character. N is maximum number of characters to + consider. */ static int -non_dle (buf, n) - char *buf; /* Character buffer; NOT '\0'-terminated */ - int n; /* Number of characters in buffer */ +non_dle (char *buf, int n) { int i; @@ -482,15 +481,12 @@ nindy_store_registers (int regno) /* Copy LEN bytes to or from inferior's memory starting at MEMADDR to debugger memory starting at MYADDR. Copy to inferior if - SHOULD_WRITE is nonzero. Returns the length copied. */ + SHOULD_WRITE is nonzero. Returns the length copied. TARGET is + unused. */ int -nindy_xfer_inferior_memory (memaddr, myaddr, len, should_write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int should_write; - struct target_ops *target; /* ignored */ +nindy_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, + int should_write, struct target_ops *target) { if (len <= 0) return 0; |