diff options
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/symm-nat.c | 1 | ||||
-rw-r--r-- | gdb/symtab.c | 1 | ||||
-rw-r--r-- | gdb/ultra3-nat.c | 9 |
4 files changed, 11 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ae47682..95d9d65 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2000-11-01 Kevin Buettner <kevinb@redhat.com> + + * symm-nat.c (print_1167_regs): Remove extraneous blank line + after function declarator. + * symtab.c (search_symbols): Likewise. + * ultra3-nat.c (fetch_core_registers): Protoize. + 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/sh/tm-linux.h: New file. Include generic tm-linux.h, diff --git a/gdb/symm-nat.c b/gdb/symm-nat.c index 7b798ae..7fc706f 100644 --- a/gdb/symm-nat.c +++ b/gdb/symm-nat.c @@ -314,7 +314,6 @@ print_1167_control_word (unsigned int pcr) } print_1167_regs (long regs[FPA_NREGS]) - { int i; diff --git a/gdb/symtab.c b/gdb/symtab.c index 11aa9c5..8de14b7 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -3535,7 +3535,6 @@ make_cleanup_free_search_symbols (struct symbol_search *symbols) void search_symbols (char *regexp, namespace_enum kind, int nfiles, char *files[], struct symbol_search **matches) - { register struct symtab *s; register struct partial_symtab *ps; diff --git a/gdb/ultra3-nat.c b/gdb/ultra3-nat.c index 1ba60ad..02ff8ec 100644 --- a/gdb/ultra3-nat.c +++ b/gdb/ultra3-nat.c @@ -254,14 +254,13 @@ fetch_register (int regno) /* * Read AMD's Binary Compatibilty Standard conforming core file. * struct ptrace_user is the first thing in the core file + * + * CORE_REG_SECT, CORE_REG_SIZE, WHICH, and REG_ADDR are all ignored. */ static void -fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) - char *core_reg_sect; /* Unused in this version */ - unsigned core_reg_size; /* Unused in this version */ - int which; /* Unused in this version */ - CORE_ADDR reg_addr; /* Unused in this version */ +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, + int which, CORE_ADDR reg_addr) { register int regno; int val; |