diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/cxux-nat.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/cxux-nat.c')
-rw-r--r-- | gdb/cxux-nat.c | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/gdb/cxux-nat.c b/gdb/cxux-nat.c index 93ed232..c37fc0c 100644 --- a/gdb/cxux-nat.c +++ b/gdb/cxux-nat.c @@ -139,8 +139,7 @@ fetch_inferior_registers (regno) Otherwise, REGNO specifies which register (so we can save time). */ void -store_inferior_registers (regno) - int regno; +store_inferior_registers (int regno) { register unsigned int regaddr; char buf[80]; @@ -249,8 +248,7 @@ store_inferior_registers (regno) /* blockend is the address of the end of the user structure */ -m88k_register_u_addr (blockend, regnum) - int blockend, regnum; +m88k_register_u_addr (int blockend, int regnum) { struct USER u; int ustart = blockend - sizeof (struct USER); @@ -289,8 +287,7 @@ m88k_register_u_addr (blockend, regnum) register values. */ void -supply_gregset (gregsetp) - gregset_t *gregsetp; +supply_gregset (gregset_t *gregsetp) { register int regi; register greg_t *regp = (greg_t *) gregsetp; @@ -307,9 +304,7 @@ supply_gregset (gregsetp) } void -fill_gregset (gregsetp, regno) - gregset_t *gregsetp; - int regno; +fill_gregset (gregset_t *gregsetp, int regno) { int regi; register greg_t *regp = (greg_t *) gregsetp; @@ -357,7 +352,7 @@ struct link_map #endif void -add_shared_symbol_files () +add_shared_symbol_files (void) { void *desc; struct link_map *ld_map, *lm, lms; @@ -410,8 +405,7 @@ add_shared_symbol_files () #include <sys/regset.h> unsigned int -m88k_harris_core_register_addr (regno, reg_ptr) - int regno, reg_ptr; +m88k_harris_core_register_addr (int regno, int reg_ptr) { unsigned int word_offset; @@ -447,7 +441,7 @@ m88k_harris_core_register_addr (regno, reg_ptr) #endif /* _ES_MP */ void -_initialize_m88k_nat () +_initialize_m88k_nat (void) { #ifdef _ES_MP /* Enable 88110 support, as we don't support the 88100 under ES/MP. */ @@ -465,8 +459,7 @@ _initialize_m88k_nat () register values. */ void -supply_gregset (gregsetp) - gregset_t *gregsetp; +supply_gregset (gregset_t *gregsetp) { register int regi; register greg_t *regp = (greg_t *) gregsetp; @@ -488,8 +481,7 @@ supply_gregset (gregsetp) idea of the current floating point register values. */ void -supply_fpregset (fpregsetp) - fpregset_t *fpregsetp; +supply_fpregset (fpregset_t *fpregsetp) { register int regi; char *from; |