+2000-02-09 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
+ prfpregset_t in <sys/procfs.h>.
+ * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
+ HAVE_PRFPREGSET_T.
+ * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
+ prgregset_t and prfpregset_t if they are not already present.
+
Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
/* Define if <sys/procfs.h> has fpregset_t. */
#undef HAVE_FPREGSET_T
+/* Define if <sys/procfs.h> has prgregset_t. */
+#undef HAVE_PRGREGSET_T
+
+/* Define if <sys/procfs.h> has prfpregset_t. */
+#undef HAVE_PRFPREGSET_T
+
+/* Define if <sys/procfs.h> has lwpid_t. */
+#undef HAVE_LWPID_T
+
+/* Define if <sys/procfs.h> has psaddr_t. */
+#undef HAVE_PSADDR_T
BFD_HAVE_SYS_PROCFS_TYPE(prrun_t)
BFD_HAVE_SYS_PROCFS_TYPE(gregset_t)
BFD_HAVE_SYS_PROCFS_TYPE(fpregset_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(prgregset_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(prfpregset_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(lwpid_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(psaddr_t)
dnl Check for PIOCSET ioctl entry
*/
} ps_err_e;
+#ifndef HAVE_LWPID_T
typedef unsigned int lwpid_t;
+#endif
+
typedef unsigned long paddr_t;
-typedef unsigned long psaddr_t;
+#ifndef HAVE_PSADDR_T
+typedef unsigned long psaddr_t;
+#endif
+#ifndef HAVE_PRGREGSET_T
typedef gregset_t prgregset_t; /* BOGUS BOGUS BOGUS */
-typedef fpregset_t prfpregset_t; /* BOGUS BOGUS BOGUS */
+#endif
+#ifndef HAVE_PRFPREGSET_T
+typedef fpregset_t prfpregset_t; /* BOGUS BOGUS BOGUS */
+#endif
struct ps_prochandle; /* user defined. */