diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-09-26 04:27:59 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-09-26 04:27:59 +0000 |
commit | 697ec6c4a5c1aa30f7fcb819398a4edad5e977c6 (patch) | |
tree | f70452550c205f7bc15c1d09fe516b520adc8a36 | |
parent | 409141842e9df6456569919f0bccfa11f7118b0e (diff) | |
download | fsf-binutils-gdb-697ec6c4a5c1aa30f7fcb819398a4edad5e977c6.zip fsf-binutils-gdb-697ec6c4a5c1aa30f7fcb819398a4edad5e977c6.tar.gz fsf-binutils-gdb-697ec6c4a5c1aa30f7fcb819398a4edad5e977c6.tar.bz2 |
Protoization.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ns32knbsd-nat.c | 9 | ||||
-rw-r--r-- | gdb/ocd.c | 11 |
3 files changed, 12 insertions, 13 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 27a43a6..0264aef 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-25 Kevin Buettner <kevinb@redhat.com> + + * ns32knbsd-nat.c (fetch_core_registers): Protoize. + * ocd.c (ocd_xfer_memory): Protoize. + 2000-09-25 Andrew Cagney <ac131313@cygnus.com> * MAINTAINERS: Add Mark Kettenis to ``Blanket Write Privs'' list. diff --git a/gdb/ns32knbsd-nat.c b/gdb/ns32knbsd-nat.c index ed82447..460f78e 100644 --- a/gdb/ns32knbsd-nat.c +++ b/gdb/ns32knbsd-nat.c @@ -116,13 +116,10 @@ struct coreregs struct fpreg freg; }; -/* Get registers from a core file. */ +/* Get registers from a core file. REG_ADDR is unused. */ static void -fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) - char *core_reg_sect; - unsigned core_reg_size; - int which; - unsigned int reg_addr; /* Unused in this version */ +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which, + unsigned int reg_addr) { struct coreregs *core_reg; @@ -764,16 +764,13 @@ ocd_read_bytes (CORE_ADDR memaddr, char *myaddr, int len) /* 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. Returns length of data written or read; 0 for error. TARGET + is ignored. */ /* ARGSUSED */ int -ocd_xfer_memory (memaddr, myaddr, len, should_write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int should_write; - struct target_ops *target; /* ignored */ +ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write, + struct target_ops *target) { return dcache_xfer_memory (ocd_dcache, memaddr, myaddr, len, should_write); } |