• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révision596c9d4b8f21bf36e746ab5c2941ebc79c45028b (tree)
l'heure2001-03-06 09:52:31
AuteurKevin Buettner <kevinb@redh...>
CommiterKevin Buettner

Message de Log

Configury changes for AIX5/IA-64.

Change Summary

Modification

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,19 @@
1+2001-03-05 Kevin Buettner <kevinb@redhat.com>
2+
3+ * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
4+ HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
5+ macros.
6+ * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
7+ pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
8+ (sys/fault.h, sys/select.h): Test for presence of these
9+ header files.
10+ (ia64-*-aix*): Define NEW_PROC_API for this host.
11+ * configure: Regenerate.
12+ * config.in: Regenerate.
13+
14+ * configure.host (ia64-*-aix*): New host.
15+ * configure.tgt (ia64-*-aix*): New target.
16+
117 2001-03-05 Andrew Cagney <ac131313@redhat.com>
218
319 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
--- a/gdb/acconfig.h
+++ b/gdb/acconfig.h
@@ -37,6 +37,18 @@
3737 /* Define if <sys/procfs.h> has prfpregset32_t. */
3838 #undef HAVE_PRFPREGSET32_T
3939
40+/* Define if <sys/procfs.h> has prsysent_t */
41+#undef HAVE_PRSYSENT_T
42+
43+/* Define if <sys/procfs.h> has pr_sigset_t */
44+#undef HAVE_PR_SIGSET_T
45+
46+/* Define if <sys/procfs.h> has pr_sigaction64_t */
47+#undef HAVE_PR_SIGACTION64_T
48+
49+/* Define if <sys/procfs.h> has pr_siginfo64_t */
50+#undef HAVE_PR_SIGINFO64_T
51+
4052 /* Define if <sys/link.h> has struct link_map32 */
4153 #undef HAVE_STRUCT_LINK_MAP32
4254
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -309,6 +309,9 @@
309309 /* Define if you have the <sys/dir.h> header file. */
310310 #undef HAVE_SYS_DIR_H
311311
312+/* Define if you have the <sys/fault.h> header file. */
313+#undef HAVE_SYS_FAULT_H
314+
312315 /* Define if you have the <sys/file.h> header file. */
313316 #undef HAVE_SYS_FILE_H
314317
@@ -336,6 +339,9 @@
336339 /* Define if you have the <sys/select.h> header file. */
337340 #undef HAVE_SYS_SELECT_H
338341
342+/* Define if you have the <sys/syscall.h> header file. */
343+#undef HAVE_SYS_SYSCALL_H
344+
339345 /* Define if you have the <sys/user.h> header file. */
340346 #undef HAVE_SYS_USER_H
341347
@@ -444,3 +450,15 @@
444450 /* Define if <sys/procfs.h> has psaddr_t. */
445451 #undef HAVE_PSADDR_T
446452
453+/* Define if <sys/procfs.h> has prsysent_t. */
454+#undef HAVE_PRSYSENT_T
455+
456+/* Define if <sys/procfs.h> has pr_sigset_t. */
457+#undef HAVE_PR_SIGSET_T
458+
459+/* Define if <sys/procfs.h> has pr_sigaction64_t. */
460+#undef HAVE_PR_SIGACTION64_T
461+
462+/* Define if <sys/procfs.h> has pr_siginfo64_t. */
463+#undef HAVE_PR_SIGINFO64_T
464+
--- a/gdb/configure
+++ b/gdb/configure
@@ -3384,7 +3384,7 @@ for ac_hdr in ctype.h endian.h link.h thread_db.h proc_service.h \
33843384 string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \
33853385 term.h termio.h termios.h unistd.h wait.h sys/wait.h \
33863386 wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
3387- time.h sys/file.h sys/ioctl.h sys/user.h \
3387+ time.h sys/file.h sys/ioctl.h sys/user.h sys/fault.h sys/syscall.h \
33883388 dirent.h sys/ndir.h sys/dir.h ndir.h \
33893389 curses.h ncurses.h \
33903390 poll.h sys/poll.h
@@ -4683,6 +4683,12 @@ EOF
46834683 EOF
46844684
46854685 ;;
4686+ ia64-*-aix*)
4687+ cat >> confdefs.h <<\EOF
4688+#define NEW_PROC_API 1
4689+EOF
4690+
4691+ ;;
46864692 *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*)
46874693 cat >> confdefs.h <<\EOF
46884694 #define NEW_PROC_API 1
@@ -4700,12 +4706,12 @@ fi
47004706
47014707 if test "$ac_cv_header_sys_procfs_h" = yes; then
47024708 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
4703-echo "configure:4704: checking for pstatus_t in sys/procfs.h" >&5
4709+echo "configure:4710: checking for pstatus_t in sys/procfs.h" >&5
47044710 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
47054711 echo $ac_n "(cached) $ac_c" 1>&6
47064712 else
47074713 cat > conftest.$ac_ext <<EOF
4708-#line 4709 "configure"
4714+#line 4715 "configure"
47094715 #include "confdefs.h"
47104716
47114717 #define _SYSCALL32
@@ -4714,7 +4720,7 @@ int main() {
47144720 pstatus_t avar
47154721 ; return 0; }
47164722 EOF
4717-if { (eval echo configure:4718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4723+if { (eval echo configure:4724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
47184724 rm -rf conftest*
47194725 bfd_cv_have_sys_procfs_type_pstatus_t=yes
47204726 else
@@ -4736,12 +4742,12 @@ EOF
47364742 echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6
47374743
47384744 echo $ac_n "checking for prrun_t in sys/procfs.h""... $ac_c" 1>&6
4739-echo "configure:4740: checking for prrun_t in sys/procfs.h" >&5
4745+echo "configure:4746: checking for prrun_t in sys/procfs.h" >&5
47404746 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then
47414747 echo $ac_n "(cached) $ac_c" 1>&6
47424748 else
47434749 cat > conftest.$ac_ext <<EOF
4744-#line 4745 "configure"
4750+#line 4751 "configure"
47454751 #include "confdefs.h"
47464752
47474753 #define _SYSCALL32
@@ -4750,7 +4756,7 @@ int main() {
47504756 prrun_t avar
47514757 ; return 0; }
47524758 EOF
4753-if { (eval echo configure:4754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4759+if { (eval echo configure:4760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
47544760 rm -rf conftest*
47554761 bfd_cv_have_sys_procfs_type_prrun_t=yes
47564762 else
@@ -4772,12 +4778,12 @@ EOF
47724778 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6
47734779
47744780 echo $ac_n "checking for gregset_t in sys/procfs.h""... $ac_c" 1>&6
4775-echo "configure:4776: checking for gregset_t in sys/procfs.h" >&5
4781+echo "configure:4782: checking for gregset_t in sys/procfs.h" >&5
47764782 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then
47774783 echo $ac_n "(cached) $ac_c" 1>&6
47784784 else
47794785 cat > conftest.$ac_ext <<EOF
4780-#line 4781 "configure"
4786+#line 4787 "configure"
47814787 #include "confdefs.h"
47824788
47834789 #define _SYSCALL32
@@ -4786,7 +4792,7 @@ int main() {
47864792 gregset_t avar
47874793 ; return 0; }
47884794 EOF
4789-if { (eval echo configure:4790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4795+if { (eval echo configure:4796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
47904796 rm -rf conftest*
47914797 bfd_cv_have_sys_procfs_type_gregset_t=yes
47924798 else
@@ -4808,12 +4814,12 @@ EOF
48084814 echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6
48094815
48104816 echo $ac_n "checking for fpregset_t in sys/procfs.h""... $ac_c" 1>&6
4811-echo "configure:4812: checking for fpregset_t in sys/procfs.h" >&5
4817+echo "configure:4818: checking for fpregset_t in sys/procfs.h" >&5
48124818 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then
48134819 echo $ac_n "(cached) $ac_c" 1>&6
48144820 else
48154821 cat > conftest.$ac_ext <<EOF
4816-#line 4817 "configure"
4822+#line 4823 "configure"
48174823 #include "confdefs.h"
48184824
48194825 #define _SYSCALL32
@@ -4822,7 +4828,7 @@ int main() {
48224828 fpregset_t avar
48234829 ; return 0; }
48244830 EOF
4825-if { (eval echo configure:4826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4831+if { (eval echo configure:4832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
48264832 rm -rf conftest*
48274833 bfd_cv_have_sys_procfs_type_fpregset_t=yes
48284834 else
@@ -4844,12 +4850,12 @@ EOF
48444850 echo "$ac_t""$bfd_cv_have_sys_procfs_type_fpregset_t" 1>&6
48454851
48464852 echo $ac_n "checking for prgregset_t in sys/procfs.h""... $ac_c" 1>&6
4847-echo "configure:4848: checking for prgregset_t in sys/procfs.h" >&5
4853+echo "configure:4854: checking for prgregset_t in sys/procfs.h" >&5
48484854 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset_t'+set}'`\" = set"; then
48494855 echo $ac_n "(cached) $ac_c" 1>&6
48504856 else
48514857 cat > conftest.$ac_ext <<EOF
4852-#line 4853 "configure"
4858+#line 4859 "configure"
48534859 #include "confdefs.h"
48544860
48554861 #define _SYSCALL32
@@ -4858,7 +4864,7 @@ int main() {
48584864 prgregset_t avar
48594865 ; return 0; }
48604866 EOF
4861-if { (eval echo configure:4862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4867+if { (eval echo configure:4868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
48624868 rm -rf conftest*
48634869 bfd_cv_have_sys_procfs_type_prgregset_t=yes
48644870 else
@@ -4880,12 +4886,12 @@ EOF
48804886 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset_t" 1>&6
48814887
48824888 echo $ac_n "checking for prfpregset_t in sys/procfs.h""... $ac_c" 1>&6
4883-echo "configure:4884: checking for prfpregset_t in sys/procfs.h" >&5
4889+echo "configure:4890: checking for prfpregset_t in sys/procfs.h" >&5
48844890 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset_t'+set}'`\" = set"; then
48854891 echo $ac_n "(cached) $ac_c" 1>&6
48864892 else
48874893 cat > conftest.$ac_ext <<EOF
4888-#line 4889 "configure"
4894+#line 4895 "configure"
48894895 #include "confdefs.h"
48904896
48914897 #define _SYSCALL32
@@ -4894,7 +4900,7 @@ int main() {
48944900 prfpregset_t avar
48954901 ; return 0; }
48964902 EOF
4897-if { (eval echo configure:4898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4903+if { (eval echo configure:4904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
48984904 rm -rf conftest*
48994905 bfd_cv_have_sys_procfs_type_prfpregset_t=yes
49004906 else
@@ -4916,12 +4922,12 @@ EOF
49164922 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset_t" 1>&6
49174923
49184924 echo $ac_n "checking for prgregset32_t in sys/procfs.h""... $ac_c" 1>&6
4919-echo "configure:4920: checking for prgregset32_t in sys/procfs.h" >&5
4925+echo "configure:4926: checking for prgregset32_t in sys/procfs.h" >&5
49204926 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset32_t'+set}'`\" = set"; then
49214927 echo $ac_n "(cached) $ac_c" 1>&6
49224928 else
49234929 cat > conftest.$ac_ext <<EOF
4924-#line 4925 "configure"
4930+#line 4931 "configure"
49254931 #include "confdefs.h"
49264932
49274933 #define _SYSCALL32
@@ -4930,7 +4936,7 @@ int main() {
49304936 prgregset32_t avar
49314937 ; return 0; }
49324938 EOF
4933-if { (eval echo configure:4934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4939+if { (eval echo configure:4940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
49344940 rm -rf conftest*
49354941 bfd_cv_have_sys_procfs_type_prgregset32_t=yes
49364942 else
@@ -4952,12 +4958,12 @@ EOF
49524958 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset32_t" 1>&6
49534959
49544960 echo $ac_n "checking for prfpregset32_t in sys/procfs.h""... $ac_c" 1>&6
4955-echo "configure:4956: checking for prfpregset32_t in sys/procfs.h" >&5
4961+echo "configure:4962: checking for prfpregset32_t in sys/procfs.h" >&5
49564962 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset32_t'+set}'`\" = set"; then
49574963 echo $ac_n "(cached) $ac_c" 1>&6
49584964 else
49594965 cat > conftest.$ac_ext <<EOF
4960-#line 4961 "configure"
4966+#line 4967 "configure"
49614967 #include "confdefs.h"
49624968
49634969 #define _SYSCALL32
@@ -4966,7 +4972,7 @@ int main() {
49664972 prfpregset32_t avar
49674973 ; return 0; }
49684974 EOF
4969-if { (eval echo configure:4970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4975+if { (eval echo configure:4976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
49704976 rm -rf conftest*
49714977 bfd_cv_have_sys_procfs_type_prfpregset32_t=yes
49724978 else
@@ -4988,12 +4994,12 @@ EOF
49884994 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset32_t" 1>&6
49894995
49904996 echo $ac_n "checking for lwpid_t in sys/procfs.h""... $ac_c" 1>&6
4991-echo "configure:4992: checking for lwpid_t in sys/procfs.h" >&5
4997+echo "configure:4998: checking for lwpid_t in sys/procfs.h" >&5
49924998 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpid_t'+set}'`\" = set"; then
49934999 echo $ac_n "(cached) $ac_c" 1>&6
49945000 else
49955001 cat > conftest.$ac_ext <<EOF
4996-#line 4997 "configure"
5002+#line 5003 "configure"
49975003 #include "confdefs.h"
49985004
49995005 #define _SYSCALL32
@@ -5002,7 +5008,7 @@ int main() {
50025008 lwpid_t avar
50035009 ; return 0; }
50045010 EOF
5005-if { (eval echo configure:5006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5011+if { (eval echo configure:5012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
50065012 rm -rf conftest*
50075013 bfd_cv_have_sys_procfs_type_lwpid_t=yes
50085014 else
@@ -5024,12 +5030,12 @@ EOF
50245030 echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpid_t" 1>&6
50255031
50265032 echo $ac_n "checking for psaddr_t in sys/procfs.h""... $ac_c" 1>&6
5027-echo "configure:5028: checking for psaddr_t in sys/procfs.h" >&5
5033+echo "configure:5034: checking for psaddr_t in sys/procfs.h" >&5
50285034 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psaddr_t'+set}'`\" = set"; then
50295035 echo $ac_n "(cached) $ac_c" 1>&6
50305036 else
50315037 cat > conftest.$ac_ext <<EOF
5032-#line 5033 "configure"
5038+#line 5039 "configure"
50335039 #include "confdefs.h"
50345040
50355041 #define _SYSCALL32
@@ -5038,7 +5044,7 @@ int main() {
50385044 psaddr_t avar
50395045 ; return 0; }
50405046 EOF
5041-if { (eval echo configure:5042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5047+if { (eval echo configure:5048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
50425048 rm -rf conftest*
50435049 bfd_cv_have_sys_procfs_type_psaddr_t=yes
50445050 else
@@ -5059,15 +5065,159 @@ EOF
50595065 fi
50605066 echo "$ac_t""$bfd_cv_have_sys_procfs_type_psaddr_t" 1>&6
50615067
5068+ echo $ac_n "checking for prsysent_t in sys/procfs.h""... $ac_c" 1>&6
5069+echo "configure:5070: checking for prsysent_t in sys/procfs.h" >&5
5070+ if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prsysent_t'+set}'`\" = set"; then
5071+ echo $ac_n "(cached) $ac_c" 1>&6
5072+else
5073+ cat > conftest.$ac_ext <<EOF
5074+#line 5075 "configure"
5075+#include "confdefs.h"
5076+
5077+#define _SYSCALL32
5078+#include <sys/procfs.h>
5079+int main() {
5080+prsysent_t avar
5081+; return 0; }
5082+EOF
5083+if { (eval echo configure:5084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5084+ rm -rf conftest*
5085+ bfd_cv_have_sys_procfs_type_prsysent_t=yes
5086+else
5087+ echo "configure: failed program was:" >&5
5088+ cat conftest.$ac_ext >&5
5089+ rm -rf conftest*
5090+ bfd_cv_have_sys_procfs_type_prsysent_t=no
5091+
5092+fi
5093+rm -f conftest*
5094+fi
5095+
5096+ if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
5097+ cat >> confdefs.h <<\EOF
5098+#define HAVE_PRSYSENT_T 1
5099+EOF
5100+
5101+ fi
5102+ echo "$ac_t""$bfd_cv_have_sys_procfs_type_prsysent_t" 1>&6
5103+
5104+ echo $ac_n "checking for pr_sigset_t in sys/procfs.h""... $ac_c" 1>&6
5105+echo "configure:5106: checking for pr_sigset_t in sys/procfs.h" >&5
5106+ if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigset_t'+set}'`\" = set"; then
5107+ echo $ac_n "(cached) $ac_c" 1>&6
5108+else
5109+ cat > conftest.$ac_ext <<EOF
5110+#line 5111 "configure"
5111+#include "confdefs.h"
5112+
5113+#define _SYSCALL32
5114+#include <sys/procfs.h>
5115+int main() {
5116+pr_sigset_t avar
5117+; return 0; }
5118+EOF
5119+if { (eval echo configure:5120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5120+ rm -rf conftest*
5121+ bfd_cv_have_sys_procfs_type_pr_sigset_t=yes
5122+else
5123+ echo "configure: failed program was:" >&5
5124+ cat conftest.$ac_ext >&5
5125+ rm -rf conftest*
5126+ bfd_cv_have_sys_procfs_type_pr_sigset_t=no
5127+
5128+fi
5129+rm -f conftest*
5130+fi
5131+
5132+ if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
5133+ cat >> confdefs.h <<\EOF
5134+#define HAVE_PR_SIGSET_T 1
5135+EOF
5136+
5137+ fi
5138+ echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigset_t" 1>&6
5139+
5140+ echo $ac_n "checking for pr_sigaction64_t in sys/procfs.h""... $ac_c" 1>&6
5141+echo "configure:5142: checking for pr_sigaction64_t in sys/procfs.h" >&5
5142+ if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigaction64_t'+set}'`\" = set"; then
5143+ echo $ac_n "(cached) $ac_c" 1>&6
5144+else
5145+ cat > conftest.$ac_ext <<EOF
5146+#line 5147 "configure"
5147+#include "confdefs.h"
5148+
5149+#define _SYSCALL32
5150+#include <sys/procfs.h>
5151+int main() {
5152+pr_sigaction64_t avar
5153+; return 0; }
5154+EOF
5155+if { (eval echo configure:5156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5156+ rm -rf conftest*
5157+ bfd_cv_have_sys_procfs_type_pr_sigaction64_t=yes
5158+else
5159+ echo "configure: failed program was:" >&5
5160+ cat conftest.$ac_ext >&5
5161+ rm -rf conftest*
5162+ bfd_cv_have_sys_procfs_type_pr_sigaction64_t=no
5163+
5164+fi
5165+rm -f conftest*
5166+fi
5167+
5168+ if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
5169+ cat >> confdefs.h <<\EOF
5170+#define HAVE_PR_SIGACTION64_T 1
5171+EOF
5172+
5173+ fi
5174+ echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" 1>&6
5175+
5176+ echo $ac_n "checking for pr_siginfo64_t in sys/procfs.h""... $ac_c" 1>&6
5177+echo "configure:5178: checking for pr_siginfo64_t in sys/procfs.h" >&5
5178+ if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_siginfo64_t'+set}'`\" = set"; then
5179+ echo $ac_n "(cached) $ac_c" 1>&6
5180+else
5181+ cat > conftest.$ac_ext <<EOF
5182+#line 5183 "configure"
5183+#include "confdefs.h"
5184+
5185+#define _SYSCALL32
5186+#include <sys/procfs.h>
5187+int main() {
5188+pr_siginfo64_t avar
5189+; return 0; }
5190+EOF
5191+if { (eval echo configure:5192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5192+ rm -rf conftest*
5193+ bfd_cv_have_sys_procfs_type_pr_siginfo64_t=yes
5194+else
5195+ echo "configure: failed program was:" >&5
5196+ cat conftest.$ac_ext >&5
5197+ rm -rf conftest*
5198+ bfd_cv_have_sys_procfs_type_pr_siginfo64_t=no
5199+
5200+fi
5201+rm -f conftest*
5202+fi
5203+
5204+ if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
5205+ cat >> confdefs.h <<\EOF
5206+#define HAVE_PR_SIGINFO64_T 1
5207+EOF
5208+
5209+ fi
5210+ echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" 1>&6
5211+
50625212
50635213
50645214 echo $ac_n "checking for struct link_map32 in sys/link.h""... $ac_c" 1>&6
5065-echo "configure:5066: checking for struct link_map32 in sys/link.h" >&5
5215+echo "configure:5216: checking for struct link_map32 in sys/link.h" >&5
50665216 if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map32'+set}'`\" = set"; then
50675217 echo $ac_n "(cached) $ac_c" 1>&6
50685218 else
50695219 cat > conftest.$ac_ext <<EOF
5070-#line 5071 "configure"
5220+#line 5221 "configure"
50715221 #include "confdefs.h"
50725222 #define _SYSCALL32
50735223 #include <sys/link.h>
@@ -5075,7 +5225,7 @@ int main() {
50755225 struct link_map32 l;
50765226 ; return 0; }
50775227 EOF
5078-if { (eval echo configure:5079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5228+if { (eval echo configure:5229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
50795229 rm -rf conftest*
50805230 gdb_cv_have_struct_link_map32=yes
50815231 else
@@ -5099,7 +5249,7 @@ EOF
50995249
51005250 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
51015251 echo $ac_n "checking whether prfpregset_t type is broken""... $ac_c" 1>&6
5102-echo "configure:5103: checking whether prfpregset_t type is broken" >&5
5252+echo "configure:5253: checking whether prfpregset_t type is broken" >&5
51035253 if eval "test \"`echo '$''{'gdb_cv_prfpregset_t_broken'+set}'`\" = set"; then
51045254 echo $ac_n "(cached) $ac_c" 1>&6
51055255 else
@@ -5107,7 +5257,7 @@ else
51075257 gdb_cv_prfpregset_t_broken=yes
51085258 else
51095259 cat > conftest.$ac_ext <<EOF
5110-#line 5111 "configure"
5260+#line 5261 "configure"
51115261 #include "confdefs.h"
51125262 #include <sys/procfs.h>
51135263 int main ()
@@ -5117,7 +5267,7 @@ else
51175267 return 0;
51185268 }
51195269 EOF
5120-if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5270+if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
51215271 then
51225272 gdb_cv_prfpregset_t_broken=no
51235273 else
@@ -5142,12 +5292,12 @@ EOF
51425292
51435293
51445294 echo $ac_n "checking for PIOCSET ioctl entry in sys/procfs.h""... $ac_c" 1>&6
5145-echo "configure:5146: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
5295+echo "configure:5296: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
51465296 if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then
51475297 echo $ac_n "(cached) $ac_c" 1>&6
51485298 else
51495299 cat > conftest.$ac_ext <<EOF
5150-#line 5151 "configure"
5300+#line 5301 "configure"
51515301 #include "confdefs.h"
51525302 #include <unistd.h>
51535303 #include <sys/types.h>
@@ -5160,7 +5310,7 @@ int main() {
51605310
51615311 ; return 0; }
51625312 EOF
5163-if { (eval echo configure:5164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5313+if { (eval echo configure:5314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
51645314 rm -rf conftest*
51655315 gdb_cv_have_procfs_piocset=yes
51665316 else
@@ -5182,7 +5332,7 @@ EOF
51825332 fi
51835333
51845334 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5185-echo "configure:5186: checking for main in -lm" >&5
5335+echo "configure:5336: checking for main in -lm" >&5
51865336 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
51875337 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
51885338 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5190,14 +5340,14 @@ else
51905340 ac_save_LIBS="$LIBS"
51915341 LIBS="-lm $LIBS"
51925342 cat > conftest.$ac_ext <<EOF
5193-#line 5194 "configure"
5343+#line 5344 "configure"
51945344 #include "confdefs.h"
51955345
51965346 int main() {
51975347 main()
51985348 ; return 0; }
51995349 EOF
5200-if { (eval echo configure:5201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5350+if { (eval echo configure:5351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
52015351 rm -rf conftest*
52025352 eval "ac_cv_lib_$ac_lib_var=yes"
52035353 else
@@ -5226,7 +5376,7 @@ fi
52265376
52275377
52285378 echo $ac_n "checking for wctype in -lc""... $ac_c" 1>&6
5229-echo "configure:5230: checking for wctype in -lc" >&5
5379+echo "configure:5380: checking for wctype in -lc" >&5
52305380 ac_lib_var=`echo c'_'wctype | sed 'y%./+-%__p_%'`
52315381 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
52325382 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5234,7 +5384,7 @@ else
52345384 ac_save_LIBS="$LIBS"
52355385 LIBS="-lc $LIBS"
52365386 cat > conftest.$ac_ext <<EOF
5237-#line 5238 "configure"
5387+#line 5388 "configure"
52385388 #include "confdefs.h"
52395389 /* Override any gcc2 internal prototype to avoid an error. */
52405390 /* We use char because int might match the return type of a gcc2
@@ -5245,7 +5395,7 @@ int main() {
52455395 wctype()
52465396 ; return 0; }
52475397 EOF
5248-if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5398+if { (eval echo configure:5399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
52495399 rm -rf conftest*
52505400 eval "ac_cv_lib_$ac_lib_var=yes"
52515401 else
@@ -5264,7 +5414,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
52645414 else
52655415 echo "$ac_t""no" 1>&6
52665416 echo $ac_n "checking for wctype in -lw""... $ac_c" 1>&6
5267-echo "configure:5268: checking for wctype in -lw" >&5
5417+echo "configure:5418: checking for wctype in -lw" >&5
52685418 ac_lib_var=`echo w'_'wctype | sed 'y%./+-%__p_%'`
52695419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
52705420 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5272,7 +5422,7 @@ else
52725422 ac_save_LIBS="$LIBS"
52735423 LIBS="-lw $LIBS"
52745424 cat > conftest.$ac_ext <<EOF
5275-#line 5276 "configure"
5425+#line 5426 "configure"
52765426 #include "confdefs.h"
52775427 /* Override any gcc2 internal prototype to avoid an error. */
52785428 /* We use char because int might match the return type of a gcc2
@@ -5283,7 +5433,7 @@ int main() {
52835433 wctype()
52845434 ; return 0; }
52855435 EOF
5286-if { (eval echo configure:5287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5436+if { (eval echo configure:5437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
52875437 rm -rf conftest*
52885438 eval "ac_cv_lib_$ac_lib_var=yes"
52895439 else
@@ -5315,12 +5465,12 @@ fi
53155465
53165466
53175467 echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6
5318-echo "configure:5319: checking for long long support in compiler" >&5
5468+echo "configure:5469: checking for long long support in compiler" >&5
53195469 if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then
53205470 echo $ac_n "(cached) $ac_c" 1>&6
53215471 else
53225472 cat > conftest.$ac_ext <<EOF
5323-#line 5324 "configure"
5473+#line 5474 "configure"
53245474 #include "confdefs.h"
53255475
53265476 int main() {
@@ -5330,7 +5480,7 @@ int main() {
53305480
53315481 ; return 0; }
53325482 EOF
5333-if { (eval echo configure:5334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5483+if { (eval echo configure:5484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
53345484 rm -rf conftest*
53355485 gdb_cv_c_long_long=yes
53365486 else
@@ -5352,7 +5502,7 @@ fi
53525502
53535503
53545504 echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6
5355-echo "configure:5356: checking for long long support in printf" >&5
5505+echo "configure:5506: checking for long long support in printf" >&5
53565506 if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then
53575507 echo $ac_n "(cached) $ac_c" 1>&6
53585508 else
@@ -5360,7 +5510,7 @@ else
53605510 gdb_cv_printf_has_long_long=no
53615511 else
53625512 cat > conftest.$ac_ext <<EOF
5363-#line 5364 "configure"
5513+#line 5514 "configure"
53645514 #include "confdefs.h"
53655515
53665516 int main () {
@@ -5374,7 +5524,7 @@ int main () {
53745524 return (strcmp ("0x0123456789abcdef", buf));
53755525 }
53765526 EOF
5377-if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5527+if { (eval echo configure:5528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
53785528 then
53795529 gdb_cv_printf_has_long_long=yes
53805530 else
@@ -5398,19 +5548,19 @@ echo "$ac_t""$gdb_cv_printf_has_long_long" 1>&6
53985548
53995549
54005550 echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6
5401-echo "configure:5402: checking for long double support in compiler" >&5
5551+echo "configure:5552: checking for long double support in compiler" >&5
54025552 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
54035553 echo $ac_n "(cached) $ac_c" 1>&6
54045554 else
54055555 cat > conftest.$ac_ext <<EOF
5406-#line 5407 "configure"
5556+#line 5557 "configure"
54075557 #include "confdefs.h"
54085558
54095559 int main() {
54105560 long double foo;
54115561 ; return 0; }
54125562 EOF
5413-if { (eval echo configure:5414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5563+if { (eval echo configure:5564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
54145564 rm -rf conftest*
54155565 ac_cv_c_long_double=yes
54165566 else
@@ -5432,7 +5582,7 @@ fi
54325582
54335583
54345584 echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6
5435-echo "configure:5436: checking for long double support in printf" >&5
5585+echo "configure:5586: checking for long double support in printf" >&5
54365586 if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then
54375587 echo $ac_n "(cached) $ac_c" 1>&6
54385588 else
@@ -5440,7 +5590,7 @@ else
54405590 gdb_cv_printf_has_long_double=no
54415591 else
54425592 cat > conftest.$ac_ext <<EOF
5443-#line 5444 "configure"
5593+#line 5594 "configure"
54445594 #include "confdefs.h"
54455595
54465596 int main () {
@@ -5450,7 +5600,7 @@ int main () {
54505600 return (strncmp ("3.14159", buf, 7));
54515601 }
54525602 EOF
5453-if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5603+if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
54545604 then
54555605 gdb_cv_printf_has_long_double=yes
54565606 else
@@ -5474,7 +5624,7 @@ echo "$ac_t""$gdb_cv_printf_has_long_double" 1>&6
54745624
54755625
54765626 echo $ac_n "checking for long double support in scanf""... $ac_c" 1>&6
5477-echo "configure:5478: checking for long double support in scanf" >&5
5627+echo "configure:5628: checking for long double support in scanf" >&5
54785628 if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then
54795629 echo $ac_n "(cached) $ac_c" 1>&6
54805630 else
@@ -5482,7 +5632,7 @@ else
54825632 gdb_cv_scanf_has_long_double=no
54835633 else
54845634 cat > conftest.$ac_ext <<EOF
5485-#line 5486 "configure"
5635+#line 5636 "configure"
54865636 #include "confdefs.h"
54875637
54885638 int main () {
@@ -5492,7 +5642,7 @@ int main () {
54925642 return !(f > 3.14159 && f < 3.14160);
54935643 }
54945644 EOF
5495-if { (eval echo configure:5496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5645+if { (eval echo configure:5646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
54965646 then
54975647 gdb_cv_scanf_has_long_double=yes
54985648 else
@@ -5518,17 +5668,17 @@ for ac_hdr in unistd.h
55185668 do
55195669 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
55205670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5521-echo "configure:5522: checking for $ac_hdr" >&5
5671+echo "configure:5672: checking for $ac_hdr" >&5
55225672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
55235673 echo $ac_n "(cached) $ac_c" 1>&6
55245674 else
55255675 cat > conftest.$ac_ext <<EOF
5526-#line 5527 "configure"
5676+#line 5677 "configure"
55275677 #include "confdefs.h"
55285678 #include <$ac_hdr>
55295679 EOF
55305680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5531-{ (eval echo configure:5532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5681+{ (eval echo configure:5682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
55325682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
55335683 if test -z "$ac_err"; then
55345684 rm -rf conftest*
@@ -5557,12 +5707,12 @@ done
55575707 for ac_func in getpagesize
55585708 do
55595709 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5560-echo "configure:5561: checking for $ac_func" >&5
5710+echo "configure:5711: checking for $ac_func" >&5
55615711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
55625712 echo $ac_n "(cached) $ac_c" 1>&6
55635713 else
55645714 cat > conftest.$ac_ext <<EOF
5565-#line 5566 "configure"
5715+#line 5716 "configure"
55665716 #include "confdefs.h"
55675717 /* System header to define __stub macros and hopefully few prototypes,
55685718 which can conflict with char $ac_func(); below. */
@@ -5585,7 +5735,7 @@ $ac_func();
55855735
55865736 ; return 0; }
55875737 EOF
5588-if { (eval echo configure:5589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5738+if { (eval echo configure:5739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
55895739 rm -rf conftest*
55905740 eval "ac_cv_func_$ac_func=yes"
55915741 else
@@ -5610,7 +5760,7 @@ fi
56105760 done
56115761
56125762 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
5613-echo "configure:5614: checking for working mmap" >&5
5763+echo "configure:5764: checking for working mmap" >&5
56145764 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
56155765 echo $ac_n "(cached) $ac_c" 1>&6
56165766 else
@@ -5618,7 +5768,7 @@ else
56185768 ac_cv_func_mmap_fixed_mapped=no
56195769 else
56205770 cat > conftest.$ac_ext <<EOF
5621-#line 5622 "configure"
5771+#line 5772 "configure"
56225772 #include "confdefs.h"
56235773
56245774 /* Thanks to Mike Haertel and Jim Avera for this test.
@@ -5758,7 +5908,7 @@ main()
57585908 }
57595909
57605910 EOF
5761-if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5911+if { (eval echo configure:5912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
57625912 then
57635913 ac_cv_func_mmap_fixed_mapped=yes
57645914 else
@@ -5787,7 +5937,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
57875937 case ${host_os} in
57885938 hpux*)
57895939 echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6
5790-echo "configure:5791: checking for HPUX/OSF thread support" >&5
5940+echo "configure:5941: checking for HPUX/OSF thread support" >&5
57915941 if test -f /usr/include/dce/cma_config.h ; then
57925942 if test "$GCC" = "yes" ; then
57935943 echo "$ac_t""yes" 1>&6
@@ -5806,7 +5956,7 @@ EOF
58065956 ;;
58075957 solaris*)
58085958 echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6
5809-echo "configure:5810: checking for Solaris thread debugging library" >&5
5959+echo "configure:5960: checking for Solaris thread debugging library" >&5
58105960 if test -f /usr/lib/libthread_db.so.1 ; then
58115961 echo "$ac_t""yes" 1>&6
58125962 cat >> confdefs.h <<\EOF
@@ -5816,7 +5966,7 @@ EOF
58165966 CONFIG_LIB_OBS="${CONFIG_LIB_OBS} sol-thread.o"
58175967 CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
58185968 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
5819-echo "configure:5820: checking for dlopen in -ldl" >&5
5969+echo "configure:5970: checking for dlopen in -ldl" >&5
58205970 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
58215971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
58225972 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5824,7 +5974,7 @@ else
58245974 ac_save_LIBS="$LIBS"
58255975 LIBS="-ldl $LIBS"
58265976 cat > conftest.$ac_ext <<EOF
5827-#line 5828 "configure"
5977+#line 5978 "configure"
58285978 #include "confdefs.h"
58295979 /* Override any gcc2 internal prototype to avoid an error. */
58305980 /* We use char because int might match the return type of a gcc2
@@ -5835,7 +5985,7 @@ int main() {
58355985 dlopen()
58365986 ; return 0; }
58375987 EOF
5838-if { (eval echo configure:5839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5988+if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
58395989 rm -rf conftest*
58405990 eval "ac_cv_lib_$ac_lib_var=yes"
58415991 else
@@ -5867,17 +6017,17 @@ fi
58676017 # all symbols visible in the dynamic symbol table.
58686018 hold_ldflags=$LDFLAGS
58696019 echo $ac_n "checking for the ld -export-dynamic flag""... $ac_c" 1>&6
5870-echo "configure:5871: checking for the ld -export-dynamic flag" >&5
6020+echo "configure:6021: checking for the ld -export-dynamic flag" >&5
58716021 LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
58726022 cat > conftest.$ac_ext <<EOF
5873-#line 5874 "configure"
6023+#line 6024 "configure"
58746024 #include "confdefs.h"
58756025
58766026 int main() {
58776027 int i;
58786028 ; return 0; }
58796029 EOF
5880-if { (eval echo configure:5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6030+if { (eval echo configure:6031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
58816031 rm -rf conftest*
58826032 found=yes
58836033 else
@@ -5896,13 +6046,13 @@ rm -f conftest*
58966046 # Sun randomly tweaked the prototypes in <proc_service.h>
58976047 # at one point.
58986048 echo $ac_n "checking if <proc_service.h> is old""... $ac_c" 1>&6
5899-echo "configure:5900: checking if <proc_service.h> is old" >&5
6049+echo "configure:6050: checking if <proc_service.h> is old" >&5
59006050 if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then
59016051 echo $ac_n "(cached) $ac_c" 1>&6
59026052 else
59036053
59046054 cat > conftest.$ac_ext <<EOF
5905-#line 5906 "configure"
6055+#line 6056 "configure"
59066056 #include "confdefs.h"
59076057
59086058 #include <proc_service.h>
@@ -5913,7 +6063,7 @@ int main() {
59136063
59146064 ; return 0; }
59156065 EOF
5916-if { (eval echo configure:5917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6066+if { (eval echo configure:6067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
59176067 rm -rf conftest*
59186068 gdb_cv_proc_service_is_old=no
59196069 else
@@ -6130,7 +6280,7 @@ WERROR_CFLAGS=""
61306280 if test "x${build_warnings}" != x -a "x$GCC" = xyes
61316281 then
61326282 echo $ac_n "checking compiler warning flags""... $ac_c" 1>&6
6133-echo "configure:6134: checking compiler warning flags" >&5
6283+echo "configure:6284: checking compiler warning flags" >&5
61346284 # Separate out the -Werror flag as some files just cannot be
61356285 # compiled with it enabled.
61366286 for w in ${build_warnings}; do
@@ -6193,12 +6343,12 @@ fi
61936343
61946344 if test $want_included_regex = false; then
61956345 echo $ac_n "checking for GNU regex""... $ac_c" 1>&6
6196-echo "configure:6197: checking for GNU regex" >&5
6346+echo "configure:6347: checking for GNU regex" >&5
61976347 if eval "test \"`echo '$''{'gdb_cv_have_gnu_regex'+set}'`\" = set"; then
61986348 echo $ac_n "(cached) $ac_c" 1>&6
61996349 else
62006350 cat > conftest.$ac_ext <<EOF
6201-#line 6202 "configure"
6351+#line 6352 "configure"
62026352 #include "confdefs.h"
62036353 #include <gnu-versions.h>
62046354 #include <sys/types.h>
@@ -6210,7 +6360,7 @@ int main() {
62106360
62116361 ; return 0; }
62126362 EOF
6213-if { (eval echo configure:6214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6363+if { (eval echo configure:6364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
62146364 rm -rf conftest*
62156365 gdb_cv_have_gnu_regex=yes
62166366 else
@@ -6239,12 +6389,12 @@ fi
62396389
62406390 # In the Cygwin environment, we need some additional flags.
62416391 echo $ac_n "checking for cygwin""... $ac_c" 1>&6
6242-echo "configure:6243: checking for cygwin" >&5
6392+echo "configure:6393: checking for cygwin" >&5
62436393 if eval "test \"`echo '$''{'gdb_cv_os_cygwin'+set}'`\" = set"; then
62446394 echo $ac_n "(cached) $ac_c" 1>&6
62456395 else
62466396 cat > conftest.$ac_ext <<EOF
6247-#line 6248 "configure"
6397+#line 6398 "configure"
62486398 #include "confdefs.h"
62496399
62506400 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
@@ -6282,7 +6432,7 @@ if test x$gdb_cv_os_cygwin = xyes; then
62826432 else
62836433 TERM_LIB=
62846434 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
6285-echo "configure:6286: checking for tgetent in -lncurses" >&5
6435+echo "configure:6436: checking for tgetent in -lncurses" >&5
62866436 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
62876437 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
62886438 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6290,7 +6440,7 @@ else
62906440 ac_save_LIBS="$LIBS"
62916441 LIBS="-lncurses $LIBS"
62926442 cat > conftest.$ac_ext <<EOF
6293-#line 6294 "configure"
6443+#line 6444 "configure"
62946444 #include "confdefs.h"
62956445 /* Override any gcc2 internal prototype to avoid an error. */
62966446 /* We use char because int might match the return type of a gcc2
@@ -6301,7 +6451,7 @@ int main() {
63016451 tgetent()
63026452 ; return 0; }
63036453 EOF
6304-if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6454+if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
63056455 rm -rf conftest*
63066456 eval "ac_cv_lib_$ac_lib_var=yes"
63076457 else
@@ -6320,7 +6470,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
63206470 else
63216471 echo "$ac_t""no" 1>&6
63226472 echo $ac_n "checking for tgetent in -lHcurses""... $ac_c" 1>&6
6323-echo "configure:6324: checking for tgetent in -lHcurses" >&5
6473+echo "configure:6474: checking for tgetent in -lHcurses" >&5
63246474 ac_lib_var=`echo Hcurses'_'tgetent | sed 'y%./+-%__p_%'`
63256475 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
63266476 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6328,7 +6478,7 @@ else
63286478 ac_save_LIBS="$LIBS"
63296479 LIBS="-lHcurses $LIBS"
63306480 cat > conftest.$ac_ext <<EOF
6331-#line 6332 "configure"
6481+#line 6482 "configure"
63326482 #include "confdefs.h"
63336483 /* Override any gcc2 internal prototype to avoid an error. */
63346484 /* We use char because int might match the return type of a gcc2
@@ -6339,7 +6489,7 @@ int main() {
63396489 tgetent()
63406490 ; return 0; }
63416491 EOF
6342-if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6492+if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
63436493 rm -rf conftest*
63446494 eval "ac_cv_lib_$ac_lib_var=yes"
63456495 else
@@ -6358,7 +6508,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
63586508 else
63596509 echo "$ac_t""no" 1>&6
63606510 echo $ac_n "checking for tgetent in -ltermlib""... $ac_c" 1>&6
6361-echo "configure:6362: checking for tgetent in -ltermlib" >&5
6511+echo "configure:6512: checking for tgetent in -ltermlib" >&5
63626512 ac_lib_var=`echo termlib'_'tgetent | sed 'y%./+-%__p_%'`
63636513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
63646514 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6366,7 +6516,7 @@ else
63666516 ac_save_LIBS="$LIBS"
63676517 LIBS="-ltermlib $LIBS"
63686518 cat > conftest.$ac_ext <<EOF
6369-#line 6370 "configure"
6519+#line 6520 "configure"
63706520 #include "confdefs.h"
63716521 /* Override any gcc2 internal prototype to avoid an error. */
63726522 /* We use char because int might match the return type of a gcc2
@@ -6377,7 +6527,7 @@ int main() {
63776527 tgetent()
63786528 ; return 0; }
63796529 EOF
6380-if { (eval echo configure:6381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6530+if { (eval echo configure:6531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
63816531 rm -rf conftest*
63826532 eval "ac_cv_lib_$ac_lib_var=yes"
63836533 else
@@ -6396,7 +6546,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
63966546 else
63976547 echo "$ac_t""no" 1>&6
63986548 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
6399-echo "configure:6400: checking for tgetent in -ltermcap" >&5
6549+echo "configure:6550: checking for tgetent in -ltermcap" >&5
64006550 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
64016551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
64026552 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6404,7 +6554,7 @@ else
64046554 ac_save_LIBS="$LIBS"
64056555 LIBS="-ltermcap $LIBS"
64066556 cat > conftest.$ac_ext <<EOF
6407-#line 6408 "configure"
6557+#line 6558 "configure"
64086558 #include "confdefs.h"
64096559 /* Override any gcc2 internal prototype to avoid an error. */
64106560 /* We use char because int might match the return type of a gcc2
@@ -6415,7 +6565,7 @@ int main() {
64156565 tgetent()
64166566 ; return 0; }
64176567 EOF
6418-if { (eval echo configure:6419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6568+if { (eval echo configure:6569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
64196569 rm -rf conftest*
64206570 eval "ac_cv_lib_$ac_lib_var=yes"
64216571 else
@@ -6434,7 +6584,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
64346584 else
64356585 echo "$ac_t""no" 1>&6
64366586 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
6437-echo "configure:6438: checking for tgetent in -lcurses" >&5
6587+echo "configure:6588: checking for tgetent in -lcurses" >&5
64386588 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
64396589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
64406590 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6442,7 +6592,7 @@ else
64426592 ac_save_LIBS="$LIBS"
64436593 LIBS="-lcurses $LIBS"
64446594 cat > conftest.$ac_ext <<EOF
6445-#line 6446 "configure"
6595+#line 6596 "configure"
64466596 #include "confdefs.h"
64476597 /* Override any gcc2 internal prototype to avoid an error. */
64486598 /* We use char because int might match the return type of a gcc2
@@ -6453,7 +6603,7 @@ int main() {
64536603 tgetent()
64546604 ; return 0; }
64556605 EOF
6456-if { (eval echo configure:6457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6606+if { (eval echo configure:6607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
64576607 rm -rf conftest*
64586608 eval "ac_cv_lib_$ac_lib_var=yes"
64596609 else
@@ -6472,7 +6622,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
64726622 else
64736623 echo "$ac_t""no" 1>&6
64746624 echo $ac_n "checking for tgetent in -lterminfo""... $ac_c" 1>&6
6475-echo "configure:6476: checking for tgetent in -lterminfo" >&5
6625+echo "configure:6626: checking for tgetent in -lterminfo" >&5
64766626 ac_lib_var=`echo terminfo'_'tgetent | sed 'y%./+-%__p_%'`
64776627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
64786628 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6480,7 +6630,7 @@ else
64806630 ac_save_LIBS="$LIBS"
64816631 LIBS="-lterminfo $LIBS"
64826632 cat > conftest.$ac_ext <<EOF
6483-#line 6484 "configure"
6633+#line 6634 "configure"
64846634 #include "confdefs.h"
64856635 /* Override any gcc2 internal prototype to avoid an error. */
64866636 /* We use char because int might match the return type of a gcc2
@@ -6491,7 +6641,7 @@ int main() {
64916641 tgetent()
64926642 ; return 0; }
64936643 EOF
6494-if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6644+if { (eval echo configure:6645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
64956645 rm -rf conftest*
64966646 eval "ac_cv_lib_$ac_lib_var=yes"
64976647 else
@@ -6649,7 +6799,7 @@ if test "${with_tclconfig+set}" = set; then
66496799 fi
66506800
66516801 echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
6652-echo "configure:6653: checking for Tcl configuration" >&5
6802+echo "configure:6803: checking for Tcl configuration" >&5
66536803 if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
66546804 echo $ac_n "(cached) $ac_c" 1>&6
66556805 else
@@ -6757,7 +6907,7 @@ if test "${with_tkconfig+set}" = set; then
67576907 fi
67586908
67596909 echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
6760-echo "configure:6761: checking for Tk configuration" >&5
6910+echo "configure:6911: checking for Tk configuration" >&5
67616911 if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
67626912 echo $ac_n "(cached) $ac_c" 1>&6
67636913 else
@@ -6853,7 +7003,7 @@ fi
68537003
68547004 no_tcl=true
68557005 echo $ac_n "checking for Tcl private headers. dir=${configdir}""... $ac_c" 1>&6
6856-echo "configure:6857: checking for Tcl private headers. dir=${configdir}" >&5
7006+echo "configure:7007: checking for Tcl private headers. dir=${configdir}" >&5
68577007 # Check whether --with-tclinclude or --without-tclinclude was given.
68587008 if test "${with_tclinclude+set}" = set; then
68597009 withval="$with_tclinclude"
@@ -6919,17 +7069,17 @@ fi
69197069 if test x"${ac_cv_c_tclh}" = x ; then
69207070 ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
69217071 echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
6922-echo "configure:6923: checking for tclInt.h" >&5
7072+echo "configure:7073: checking for tclInt.h" >&5
69237073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
69247074 echo $ac_n "(cached) $ac_c" 1>&6
69257075 else
69267076 cat > conftest.$ac_ext <<EOF
6927-#line 6928 "configure"
7077+#line 7078 "configure"
69287078 #include "confdefs.h"
69297079 #include <tclInt.h>
69307080 EOF
69317081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6932-{ (eval echo configure:6933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7082+{ (eval echo configure:7083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
69337083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
69347084 if test -z "$ac_err"; then
69357085 rm -rf conftest*
@@ -6989,7 +7139,7 @@ fi
69897139 #
69907140 no_tk=true
69917141 echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
6992-echo "configure:6993: checking for Tk private headers" >&5
7142+echo "configure:7143: checking for Tk private headers" >&5
69937143 # Check whether --with-tkinclude or --without-tkinclude was given.
69947144 if test "${with_tkinclude+set}" = set; then
69957145 withval="$with_tkinclude"
@@ -7055,17 +7205,17 @@ fi
70557205 if test x"${ac_cv_c_tkh}" = x ; then
70567206 ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
70577207 echo $ac_n "checking for tk.h""... $ac_c" 1>&6
7058-echo "configure:7059: checking for tk.h" >&5
7208+echo "configure:7209: checking for tk.h" >&5
70597209 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
70607210 echo $ac_n "(cached) $ac_c" 1>&6
70617211 else
70627212 cat > conftest.$ac_ext <<EOF
7063-#line 7064 "configure"
7213+#line 7214 "configure"
70647214 #include "confdefs.h"
70657215 #include <tk.h>
70667216 EOF
70677217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7068-{ (eval echo configure:7069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7218+{ (eval echo configure:7219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
70697219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
70707220 if test -z "$ac_err"; then
70717221 rm -rf conftest*
@@ -7111,7 +7261,7 @@ fi
71117261
71127262
71137263 echo $ac_n "checking for Itcl private headers. srcdir=${srcdir}""... $ac_c" 1>&6
7114-echo "configure:7115: checking for Itcl private headers. srcdir=${srcdir}" >&5
7264+echo "configure:7265: checking for Itcl private headers. srcdir=${srcdir}" >&5
71157265 if test x"${ac_cv_c_itclh}" = x ; then
71167266 for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itcl; do
71177267 if test -f $i/generic/itcl.h ; then
@@ -7134,7 +7284,7 @@ fi
71347284
71357285
71367286 echo $ac_n "checking for Itk private headers. srcdir=${srcdir}""... $ac_c" 1>&6
7137-echo "configure:7138: checking for Itk private headers. srcdir=${srcdir}" >&5
7287+echo "configure:7288: checking for Itk private headers. srcdir=${srcdir}" >&5
71387288 if test x"${ac_cv_c_itkh}" = x ; then
71397289 for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itk; do
71407290 if test -f $i/generic/itk.h ; then
@@ -7157,7 +7307,7 @@ fi
71577307
71587308
71597309 echo $ac_n "checking for Tix private headers. srcdir=${srcdir}""... $ac_c" 1>&6
7160-echo "configure:7161: checking for Tix private headers. srcdir=${srcdir}" >&5
7310+echo "configure:7311: checking for Tix private headers. srcdir=${srcdir}" >&5
71617311 if test x"${ac_cv_c_tixh}" = x ; then
71627312 for i in ${srcdir}/../tix ${srcdir}/../../tix ${srcdir}/../../../tix ; do
71637313 if test -f $i/generic/tix.h ; then
@@ -7195,7 +7345,7 @@ if test "${with_itclconfig+set}" = set; then
71957345 fi
71967346
71977347 echo $ac_n "checking for Itcl configuration""... $ac_c" 1>&6
7198-echo "configure:7199: checking for Itcl configuration" >&5
7348+echo "configure:7349: checking for Itcl configuration" >&5
71997349 if eval "test \"`echo '$''{'ac_cv_c_itclconfig'+set}'`\" = set"; then
72007350 echo $ac_n "(cached) $ac_c" 1>&6
72017351 else
@@ -7307,7 +7457,7 @@ if test "${with_itkconfig+set}" = set; then
73077457 fi
73087458
73097459 echo $ac_n "checking for Itk configuration""... $ac_c" 1>&6
7310-echo "configure:7311: checking for Itk configuration" >&5
7460+echo "configure:7461: checking for Itk configuration" >&5
73117461 if eval "test \"`echo '$''{'ac_cv_c_itkconfig'+set}'`\" = set"; then
73127462 echo $ac_n "(cached) $ac_c" 1>&6
73137463 else
@@ -7419,7 +7569,7 @@ if test "${with_tixconfig+set}" = set; then
74197569 fi
74207570
74217571 echo $ac_n "checking for Tix configuration""... $ac_c" 1>&6
7422-echo "configure:7423: checking for Tix configuration" >&5
7572+echo "configure:7573: checking for Tix configuration" >&5
74237573 if eval "test \"`echo '$''{'ac_cv_c_tixconfig'+set}'`\" = set"; then
74247574 echo $ac_n "(cached) $ac_c" 1>&6
74257575 else
@@ -7559,7 +7709,7 @@ fi
75597709 # Uses ac_ vars as temps to allow command line to override cache and checks.
75607710 # --without-x overrides everything else, but does not touch the cache.
75617711 echo $ac_n "checking for X""... $ac_c" 1>&6
7562-echo "configure:7563: checking for X" >&5
7712+echo "configure:7713: checking for X" >&5
75637713
75647714 # Check whether --with-x or --without-x was given.
75657715 if test "${with_x+set}" = set; then
@@ -7621,12 +7771,12 @@ if test "$ac_x_includes" = NO; then
76217771
76227772 # First, try using that file with no special directory specified.
76237773 cat > conftest.$ac_ext <<EOF
7624-#line 7625 "configure"
7774+#line 7775 "configure"
76257775 #include "confdefs.h"
76267776 #include <$x_direct_test_include>
76277777 EOF
76287778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7629-{ (eval echo configure:7630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7779+{ (eval echo configure:7780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
76307780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
76317781 if test -z "$ac_err"; then
76327782 rm -rf conftest*
@@ -7695,14 +7845,14 @@ if test "$ac_x_libraries" = NO; then
76957845 ac_save_LIBS="$LIBS"
76967846 LIBS="-l$x_direct_test_library $LIBS"
76977847 cat > conftest.$ac_ext <<EOF
7698-#line 7699 "configure"
7848+#line 7849 "configure"
76997849 #include "confdefs.h"
77007850
77017851 int main() {
77027852 ${x_direct_test_function}()
77037853 ; return 0; }
77047854 EOF
7705-if { (eval echo configure:7706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7855+if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
77067856 rm -rf conftest*
77077857 LIBS="$ac_save_LIBS"
77087858 # We can link X programs with no special library path.
@@ -8042,7 +8192,7 @@ fi
80428192
80438193
80448194 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8045-echo "configure:8046: checking whether ln -s works" >&5
8195+echo "configure:8196: checking whether ln -s works" >&5
80468196 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
80478197 echo $ac_n "(cached) $ac_c" 1>&6
80488198 else
@@ -8066,12 +8216,12 @@ fi
80668216
80678217
80688218 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
8069-echo "configure:8070: checking for Cygwin environment" >&5
8219+echo "configure:8220: checking for Cygwin environment" >&5
80708220 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
80718221 echo $ac_n "(cached) $ac_c" 1>&6
80728222 else
80738223 cat > conftest.$ac_ext <<EOF
8074-#line 8075 "configure"
8224+#line 8225 "configure"
80758225 #include "confdefs.h"
80768226
80778227 int main() {
@@ -8082,7 +8232,7 @@ int main() {
80828232 return __CYGWIN__;
80838233 ; return 0; }
80848234 EOF
8085-if { (eval echo configure:8086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8235+if { (eval echo configure:8236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
80868236 rm -rf conftest*
80878237 ac_cv_cygwin=yes
80888238 else
@@ -8099,19 +8249,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
80998249 CYGWIN=
81008250 test "$ac_cv_cygwin" = yes && CYGWIN=yes
81018251 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
8102-echo "configure:8103: checking for mingw32 environment" >&5
8252+echo "configure:8253: checking for mingw32 environment" >&5
81038253 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
81048254 echo $ac_n "(cached) $ac_c" 1>&6
81058255 else
81068256 cat > conftest.$ac_ext <<EOF
8107-#line 8108 "configure"
8257+#line 8258 "configure"
81088258 #include "confdefs.h"
81098259
81108260 int main() {
81118261 return __MINGW32__;
81128262 ; return 0; }
81138263 EOF
8114-if { (eval echo configure:8115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8264+if { (eval echo configure:8265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
81158265 rm -rf conftest*
81168266 ac_cv_mingw32=yes
81178267 else
@@ -8130,7 +8280,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes
81308280
81318281
81328282 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
8133-echo "configure:8134: checking for executable suffix" >&5
8283+echo "configure:8284: checking for executable suffix" >&5
81348284 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
81358285 echo $ac_n "(cached) $ac_c" 1>&6
81368286 else
@@ -8140,7 +8290,7 @@ else
81408290 rm -f conftest*
81418291 echo 'int main () { return 0; }' > conftest.$ac_ext
81428292 ac_cv_exeext=
8143- if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
8293+ if { (eval echo configure:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
81448294 for file in conftest.*; do
81458295 case $file in
81468296 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -80,6 +80,7 @@ i[3456]86-*-sysv*) gdb_host=i386v ;;
8080 i[3456]86-*-isc*) gdb_host=i386v32 ;;
8181 i[3456]86-*-cygwin*) gdb_host=cygwin ;;
8282
83+ia64-*-aix*) gdb_host=aix ;;
8384 ia64-*-linux*) gdb_host=linux ;;
8485
8586 m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -123,7 +123,7 @@ AC_CHECK_HEADERS(ctype.h endian.h link.h thread_db.h proc_service.h \
123123 string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \
124124 term.h termio.h termios.h unistd.h wait.h sys/wait.h \
125125 wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
126- time.h sys/file.h sys/ioctl.h sys/user.h \
126+ time.h sys/file.h sys/ioctl.h sys/user.h sys/fault.h sys/syscall.h \
127127 dirent.h sys/ndir.h sys/dir.h ndir.h \
128128 curses.h ncurses.h \
129129 poll.h sys/poll.h)
@@ -216,6 +216,9 @@ if test "${target}" = "${host}"; then
216216 AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2)
217217 AC_DEFINE(sys_quotactl)
218218 ;;
219+ ia64-*-aix*)
220+ AC_DEFINE(NEW_PROC_API)
221+ ;;
219222 *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*)
220223 AC_DEFINE(NEW_PROC_API)
221224 ;;
@@ -236,6 +239,10 @@ if test "$ac_cv_header_sys_procfs_h" = yes; then
236239 BFD_HAVE_SYS_PROCFS_TYPE(prfpregset32_t)
237240 BFD_HAVE_SYS_PROCFS_TYPE(lwpid_t)
238241 BFD_HAVE_SYS_PROCFS_TYPE(psaddr_t)
242+ BFD_HAVE_SYS_PROCFS_TYPE(prsysent_t)
243+ BFD_HAVE_SYS_PROCFS_TYPE(pr_sigset_t)
244+ BFD_HAVE_SYS_PROCFS_TYPE(pr_sigaction64_t)
245+ BFD_HAVE_SYS_PROCFS_TYPE(pr_siginfo64_t)
239246
240247 dnl Check for struct link_map32 type, which allows a 64-bit Solaris
241248 dnl debugger to debug a 32-bit Solaris app with 32-bit shared libraries.
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -132,6 +132,7 @@ i960-*-elf*) gdb_target=mon960 ;;
132132 i960-*-nindy*) gdb_target=nindy960 ;;
133133 i960-*-vxworks*) gdb_target=vxworks960 ;;
134134
135+ia64-*-aix*) gdb_target=aix ;;
135136 ia64-*-linux*) gdb_target=linux ;;
136137
137138 m32r-*-elf*) gdb_target=m32r ;;