* configure.in: Check for td_pcb in `struct thread'.

* configure, config.in: Regenerated.
This commit is contained in:
Mark Kettenis 2004-05-23 09:23:18 +00:00
parent 1181c20ef4
commit 70f9f47919
4 changed files with 239 additions and 190 deletions

View file

@ -1,5 +1,8 @@
2004-05-23 Mark Kettenis <kettenis@gnu.org>
* configure.in: Check for td_pcb in `struct thread'.
* configure, config.in: Regenerated.
* dpx2-nat.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
(dpx2-nat.o): Remove dependencies.

View file

@ -462,6 +462,9 @@
/* Define to 1 if the regex included in libiberty should be used. */
#undef USE_INCLUDED_REGEX
/* Define to 1 if your system has td_pcb in struct thread. */
#undef HAVE_STRUCT_THREAD_TD_PCB
/* Define to 1 if your system has struct reg in <machine/reg.h>. */
#undef HAVE_STRUCT_REG

414
gdb/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -494,6 +494,15 @@ if test "$gdb_with_regex" = yes; then
[Define to 1 if the regex included in libiberty should be used.])
fi
# See if <sys/proc.h> defines `struct thread' with a td_pcb member.
AC_CACHE_CHECK([for td_pcb in struct thread], gdb_cv_struct_thread_td_pcb,
[AC_TRY_COMPILE([#include <sys/proc.h>], [struct thread td; td.td_pcb;],
gdb_cv_struct_thread_td_pcb=yes, gdb_cv_struct_thread_td_pcb=no)])
if test $gdb_cv_struct_thread_td_pcb = yes; then
AC_DEFINE(HAVE_STRUCT_THREAD_TD_PCB, 1,
[Define to 1 if your system has td_pcb in struct thread.])
fi
# See if <machine/reg.h> degines `struct reg'.
AC_CACHE_CHECK([for struct reg in machine/reg.h], gdb_cv_struct_reg,
[AC_TRY_COMPILE([#include <sys/types.h>