/* Defining this means some system include files define some extra stuff. */
#define WOPR
#include <sys/param.h>
-#include <sys/dir.h>
#include <signal.h>
#include <sys/user.h>
-#include <sys/ioctl.h>
#include <fcntl.h>
#include <sys/ptrace.h>
#include "gdbcore.h"
#include <sys/file.h>
-#include <sys/stat.h>
/* Get kernel_u_addr using HPUX-style nlist(). */
CORE_ADDR kernel_u_addr;
static struct hpnlist nl[] = {{ "_u", -1, }, { (char *) 0, }};
/* read the value of the u area from the hp-ux kernel */
-void _initialize_kernel_u_addr ()
+void
+_initialize_hp300ux_nat ()
{
#ifndef HPUX_VERSION_5
nlist ("/hp-ux", nl);
}
\f
+#if 0
+
+/* This function is no longer used. The version in coredep.c is used
+ instead. */
+
/* Take the register values out of a core file and store
them where `read_register' will find them. */
}
}
+#endif /* 0 */
+
int
getpagesize ()
{