diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-10-23 03:21:06 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-10-23 03:21:06 +0000 |
commit | c67b4c45e2336bcd36a5a8dd7ffee7866ce0ccce (patch) | |
tree | 7057d89de64bc94a549931257fad0ad8887d2951 /gdb | |
parent | b70c1209275694786cfd83a3615f316128f4a753 (diff) | |
download | gdb-c67b4c45e2336bcd36a5a8dd7ffee7866ce0ccce.zip gdb-c67b4c45e2336bcd36a5a8dd7ffee7866ce0ccce.tar.gz gdb-c67b4c45e2336bcd36a5a8dd7ffee7866ce0ccce.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sparc-nat.c | 18 | ||||
-rw-r--r-- | gdb/sparcl-tdep.c | 11 |
3 files changed, 22 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7aaaff..a698f1a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-10-22 Kevin Buettner <kevinb@redhat.com> + + * sparc-nat.c (fetch_core_registers): Protoize. + * sparcl-tdep.c (download): Protoize. + Fri Oct 20 19:08:47 2000 Andrew Cagney <cagney@b1.cygnus.com> * MAINTAINERS: Add Fred Fish to Blanket Write Privs list. diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index c62054a..017f31a 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -248,13 +248,21 @@ store_inferior_registers (int regno) } } +/* Provide registers to GDB from a core file. + + CORE_REG_SECT points to an array of bytes, which are the contents + of a `note' from a core file which BFD thinks might contain + register contents. CORE_REG_SIZE is its size. + + WHICH says which register set corelow suspects this is: + 0 --- the general-purpose register set + 2 --- the floating-point register set + + IGNORE is unused. */ static void -fetch_core_registers (core_reg_sect, core_reg_size, which, ignore) - char *core_reg_sect; - unsigned core_reg_size; - int which; - CORE_ADDR ignore; /* reg addr, unused in this version */ +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, + int which, CORE_ADDR ignore) { if (which == 0) diff --git a/gdb/sparcl-tdep.c b/gdb/sparcl-tdep.c index 20675e2..ce9b46e 100644 --- a/gdb/sparcl-tdep.c +++ b/gdb/sparcl-tdep.c @@ -527,13 +527,10 @@ sparclite_close (int quitting) #define LOAD_ADDRESS 0x40000000 static void -download (target_name, args, from_tty, write_routine, start_routine) - char *target_name; - char *args; - int from_tty; - void (*write_routine) (bfd * from_bfd, asection * from_sec, - file_ptr from_addr, bfd_vma to_addr, int len); - void (*start_routine) (bfd_vma entry); +download (char *target_name, char *args, int from_tty, + void (*write_routine) (bfd *from_bfd, asection *from_sec, + file_ptr from_addr, bfd_vma to_addr, int len), + void (*start_routine) (bfd_vma entry)) { struct cleanup *old_chain; asection *section; |