aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-23 09:23:18 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-23 09:23:18 +0000
commit70f9f479194f1a826e7c600d7272ab6822ca9ce1 (patch)
tree2d16838260ca0a5e0631ab58770334188ce20b0e /gdb/configure.in
parent1181c20ef469d4c1d5c9593809653546506f29a8 (diff)
downloadgdb-70f9f479194f1a826e7c600d7272ab6822ca9ce1.zip
gdb-70f9f479194f1a826e7c600d7272ab6822ca9ce1.tar.gz
gdb-70f9f479194f1a826e7c600d7272ab6822ca9ce1.tar.bz2
* configure.in: Check for td_pcb in `struct thread'.
* configure, config.in: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 0463e94..dc9b072 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -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>