diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-09-24 04:42:12 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-09-24 04:42:12 +0000 |
commit | 0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204 (patch) | |
tree | 9477067e3d1587ba365e657dd765c3d65e02d11f /gdb | |
parent | 959ee54136558b8c3441d2e7167699c6ffba401f (diff) | |
download | gdb-0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204.zip gdb-0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204.tar.gz gdb-0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mdebugread.c | 5 | ||||
-rw-r--r-- | gdb/monitor.c | 12 |
3 files changed, 14 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5ca71fe..3d6041f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-23 Kevin Buettner <kevinb@redhat.com> + + * mdebugread.c (mdebug_next_symbol_text): Protoize. + * monitor.c (monitor_xfer_memory): Protoize. + 2000-09-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 8bc869e..c198405 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 c5d6da6..869a91e 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); } |