From 0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sun, 24 Sep 2000 04:42:12 +0000 Subject: [PATCH] Protoization. --- gdb/ChangeLog | 5 +++++ gdb/mdebugread.c | 5 +++-- gdb/monitor.c | 12 ++++++------ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5ca71fe54c0..3d6041ffdf4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-23 Kevin Buettner + + * mdebugread.c (mdebug_next_symbol_text): Protoize. + * monitor.c (monitor_xfer_memory): Protoize. + 2000-09-22 Peter Schauer * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 8bc869e9c8d..c1984054e0d 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -3182,9 +3182,10 @@ handle_psymbol_enumerators (struct objfile *objfile, FDR *fh, int stype, } } +/* Get the next symbol. OBJFILE is unused. */ + static char * -mdebug_next_symbol_text (objfile) - struct objfile *objfile; /* argument objfile is currently unused */ +mdebug_next_symbol_text (struct objfile *objfile) { SYMR sh; diff --git a/gdb/monitor.c b/gdb/monitor.c index c5d6da69ae0..869a91e2928 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -2000,13 +2000,13 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len) return len; } +/* Transfer LEN bytes between target address MEMADDR and GDB address + MYADDR. Returns 0 for success, errno code for failure. TARGET is + unused. */ + static int -monitor_xfer_memory (memaddr, myaddr, len, write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int write; - struct target_ops *target; /* ignored */ +monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, + struct target_ops *target) { return dcache_xfer_memory (remote_dcache, memaddr, myaddr, len, write); } -- 2.30.2