summaryrefslogtreecommitdiff
path: root/gdb/i386b-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386b-nat.c')
-rw-r--r--gdb/i386b-nat.c25
1 files changed, 8 insertions, 17 deletions
diff --git a/gdb/i386b-nat.c b/gdb/i386b-nat.c
index dfa0a70b913..12a27a9085c 100644
--- a/gdb/i386b-nat.c
+++ b/gdb/i386b-nat.c
@@ -29,8 +29,7 @@
#include "gdbcore.h" /* for registers_fetched() */
void
-fetch_inferior_registers (regno)
- int regno;
+fetch_inferior_registers (int regno)
{
struct reg inferior_registers;
@@ -40,8 +39,7 @@ fetch_inferior_registers (regno)
}
void
-store_inferior_registers (regno)
- int regno;
+store_inferior_registers (int regno)
{
struct reg inferior_registers;
@@ -56,11 +54,8 @@ struct md_core
};
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;
+fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which,
+ CORE_ADDR ignore)
{
struct md_core *core_reg = (struct md_core *) core_reg_sect;
@@ -108,9 +103,7 @@ static int sregmap[] =
place where ES is stored. */
int
-i386_register_u_addr (blockend, regnum)
- int blockend;
- int regnum;
+i386_register_u_addr (int blockend, int regnum)
{
/* The following condition is a kludge to get at the proper register map
depending upon the state of pcb_flag.
@@ -174,9 +167,7 @@ struct env387
};
static void
-print_387_status (status, ep)
- unsigned short status;
- struct env387 *ep;
+print_387_status (unsigned short status, struct env387 *ep)
{
int i;
int bothstatus;
@@ -239,7 +230,7 @@ print_387_status (status, ep)
}
}
-i386_float_info ()
+i386_float_info (void)
{
struct user u; /* just for address computations */
int i;
@@ -288,7 +279,7 @@ i386_float_info ()
}
int
-kernel_u_size ()
+kernel_u_size (void)
{
return (sizeof (struct user));
}