* hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
authorJeff Law <law@redhat.com>
Tue, 18 Jan 1994 04:02:06 +0000 (04:02 +0000)
committerJeff Law <law@redhat.com>
Tue, 18 Jan 1994 04:02:06 +0000 (04:02 +0000)
gdb/ChangeLog
gdb/hppab-nat.c

index 0e2981b57ee3a55780813920daa46f190aef3b9d..d582acaa200c63e4e9e46e068b3de1eb995d70ab 100644 (file)
@@ -1,3 +1,7 @@
+Mon Jan 17 20:00:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
+
 Mon Jan 17 22:00:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
index ac36652d8ee897b9d2c48454020a7b5d5fd28307..dc63120c631a27f22f48b9baac73f923c4c62aa3 100644 (file)
@@ -98,52 +98,6 @@ detach (signal)
 \f
 
 
-/* KERNEL_U_ADDR is the amount to subtract from u.u_ar0
-   to get the offset in the core file of the register values.  */
-#if defined (KERNEL_U_ADDR_BSD)
-/* Get kernel_u_addr using BSD-style nlist().  */
-CORE_ADDR kernel_u_addr;
-
-#include <a.out.gnu.h>         /* For struct nlist */
-
-void
-_initialize_kernel_u_addr ()
-{
-  struct nlist names[2];
-
-  names[0].n_un.n_name = "_u";
-  names[1].n_un.n_name = NULL;
-  if (nlist ("/vmunix", names) == 0)
-    kernel_u_addr = names[0].n_value;
-  else
-    fatal ("Unable to get kernel u area address.");
-}
-#endif /* KERNEL_U_ADDR_BSD.  */
-
-#if defined (KERNEL_U_ADDR_HPUX)
-/* Get kernel_u_addr using HPUX-style nlist().  */
-CORE_ADDR kernel_u_addr;
-
-struct hpnlist {      
-        char *          n_name;
-        long            n_value;  
-        unsigned char   n_type;   
-        unsigned char   n_length;  
-        short           n_almod;   
-        short           n_unused;
-};
-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 ()
-{
-    struct user u;
-    nlist ("/hp-ux", &nl);
-    kernel_u_addr = nl[0].n_value;
-}
-#endif /* KERNEL_U_ADDR_HPUX.  */
-
 #if !defined (offsetof)
 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
 #endif
This page took 0.025417 seconds and 4 git commands to generate.