* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / hp300ux-nat.c
index 0f392ab0f9b5afd682b463f1e180ee9c2b412578..002256bf0fbee3fce4685dbd13fc8608812af4da 100644 (file)
@@ -24,10 +24,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* 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>
@@ -37,7 +35,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "gdbcore.h"
 
 #include <sys/file.h>
-#include <sys/stat.h>
 
 /* Get kernel_u_addr using HPUX-style nlist().  */
 CORE_ADDR kernel_u_addr;
@@ -53,7 +50,8 @@ struct hpnlist {
 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);
@@ -212,6 +210,11 @@ store_inferior_registers (regno)
 }
 
 \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.  */
 
@@ -256,6 +259,8 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
   }
 }
 
+#endif /* 0 */
+
 int
 getpagesize ()
 {
This page took 0.023242 seconds and 4 git commands to generate.