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/i386m3-nat.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/i386m3-nat.c')
-rw-r--r-- | gdb/i386m3-nat.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/gdb/i386m3-nat.c b/gdb/i386m3-nat.c index 61fd384..5f3d130 100644 --- a/gdb/i386m3-nat.c +++ b/gdb/i386m3-nat.c @@ -101,8 +101,7 @@ static int reg_offset[] = */ void -fetch_inferior_registers (regno) - int regno; +fetch_inferior_registers (int regno) { kern_return_t ret; thread_state_data_t state; @@ -147,8 +146,7 @@ fetch_inferior_registers (regno) * On mach3 all registers are always saved in one call. */ void -store_inferior_registers (regno) - int regno; +store_inferior_registers (int regno) { kern_return_t ret; thread_state_data_t state; @@ -221,9 +219,7 @@ store_inferior_registers (regno) */ CORE_ADDR -register_addr (regno, blockend) - int regno; - CORE_ADDR blockend; +register_addr (int regno, CORE_ADDR blockend) { CORE_ADDR addr; @@ -261,9 +257,7 @@ struct env387 * Should move it to i387-tdep.c but you need to export struct env387 */ private -print_387_status (status, ep) - unsigned short status; - struct env387 *ep; +print_387_status (unsigned short status, struct env387 *ep) { int i; int bothstatus; @@ -358,8 +352,7 @@ typedef struct fpstate /* Mach 3 specific routines. */ private boolean_t -get_i387_state (fstate) - struct fpstate *fstate; +get_i387_state (struct fpstate *fstate) { kern_return_t ret; thread_state_data_t state; @@ -396,8 +389,7 @@ get_i387_state (fstate) } private boolean_t -get_i387_core_state (fstate) - struct fpstate *fstate; +get_i387_core_state (struct fpstate *fstate) { /* Not implemented yet. Core files do not contain float state. */ return FALSE; @@ -407,7 +399,7 @@ get_i387_core_state (fstate) * This is called by "info float" command */ void -i386_mach3_float_info () +i386_mach3_float_info (void) { char buf[sizeof (struct fpstate) + 2 * sizeof (int)]; boolean_t valid = FALSE; |