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/sun386-nat.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/sun386-nat.c')
-rw-r--r-- | gdb/sun386-nat.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/gdb/sun386-nat.c b/gdb/sun386-nat.c index c37f4c2..987e82f 100644 --- a/gdb/sun386-nat.c +++ b/gdb/sun386-nat.c @@ -45,9 +45,7 @@ void -core_file_command (filename, from_tty) - char *filename; - int from_tty; +core_file_command (char *filename, int from_tty) { int val; @@ -137,9 +135,7 @@ core_file_command (filename, from_tty) printf_unfiltered ("No core file now.\n"); } -i387_to_double (from, to) - char *from; - char *to; +i387_to_double (char *from, char *to) { long *lp; /* push extended mode on 387 stack, then pop in double mode @@ -167,9 +163,7 @@ i387_to_double (from, to) asm ("popl %eax"); /* flush saved copy */ } -double_to_i387 (from, to) - char *from; - char *to; +double_to_i387 (char *from, char *to) { /* push double mode on 387 stack, then pop in extended mode * no errors are possible because every 64-bit pattern @@ -184,8 +178,7 @@ double_to_i387 (from, to) } void -fetch_inferior_registers (regno) - int regno; +fetch_inferior_registers (int regno) { struct regs inferior_registers; struct fp_state inferior_fp_registers; @@ -211,8 +204,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) { struct regs inferior_registers; struct fp_state inferior_fp_registers; |