#include "defs.h"
#include <time.h>
+#ifdef HAVE_SYS_PROCFS_H
#include <sys/procfs.h>
+#endif
#include <fcntl.h>
#include <errno.h>
#include "gdb_string.h"
#include "command.h"
#include "gdbcore.h"
+static void fetch_core_registers PARAMS ((char *, unsigned, int, CORE_ADDR));
+
/*
GLOBAL FUNCTION
void fetch_core_registers (char *core_reg_sect,
unsigned core_reg_size,
- int which, unsigned in reg_addr)
+ int which, CORE_ADDR reg_addr)
DESCRIPTION
char *core_reg_sect;
unsigned core_reg_size;
int which;
- unsigned int reg_addr; /* Unused in this version */
+ CORE_ADDR reg_addr; /* Unused in this version */
{
+#if defined (HAVE_GREGSET_T) && defined (HAVE_FPREGSET_T)
gregset_t gregset;
fpregset_t fpregset;
#endif
}
}
+#endif /* defined(HAVE_GREGSET_T) && defined (HAVE_FPREGSET_T) */
}
\f