GNU Binutils with patches for OS216
Révision | 596c9d4b8f21bf36e746ab5c2941ebc79c45028b (tree) |
---|---|
l'heure | 2001-03-06 09:52:31 |
Auteur | Kevin Buettner <kevinb@redh...> |
Commiter | Kevin Buettner |
Configury changes for AIX5/IA-64.
@@ -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 | + | |
1 | 17 | 2001-03-05 Andrew Cagney <ac131313@redhat.com> |
2 | 18 | |
3 | 19 | * TODO (GDB 5.1 Known Problems): Document z8k as broken. |
@@ -37,6 +37,18 @@ | ||
37 | 37 | /* Define if <sys/procfs.h> has prfpregset32_t. */ |
38 | 38 | #undef HAVE_PRFPREGSET32_T |
39 | 39 | |
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 | + | |
40 | 52 | /* Define if <sys/link.h> has struct link_map32 */ |
41 | 53 | #undef HAVE_STRUCT_LINK_MAP32 |
42 | 54 |
@@ -309,6 +309,9 @@ | ||
309 | 309 | /* Define if you have the <sys/dir.h> header file. */ |
310 | 310 | #undef HAVE_SYS_DIR_H |
311 | 311 | |
312 | +/* Define if you have the <sys/fault.h> header file. */ | |
313 | +#undef HAVE_SYS_FAULT_H | |
314 | + | |
312 | 315 | /* Define if you have the <sys/file.h> header file. */ |
313 | 316 | #undef HAVE_SYS_FILE_H |
314 | 317 |
@@ -336,6 +339,9 @@ | ||
336 | 339 | /* Define if you have the <sys/select.h> header file. */ |
337 | 340 | #undef HAVE_SYS_SELECT_H |
338 | 341 | |
342 | +/* Define if you have the <sys/syscall.h> header file. */ | |
343 | +#undef HAVE_SYS_SYSCALL_H | |
344 | + | |
339 | 345 | /* Define if you have the <sys/user.h> header file. */ |
340 | 346 | #undef HAVE_SYS_USER_H |
341 | 347 |
@@ -444,3 +450,15 @@ | ||
444 | 450 | /* Define if <sys/procfs.h> has psaddr_t. */ |
445 | 451 | #undef HAVE_PSADDR_T |
446 | 452 | |
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 | + |
@@ -3384,7 +3384,7 @@ for ac_hdr in ctype.h endian.h link.h thread_db.h proc_service.h \ | ||
3384 | 3384 | string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \ |
3385 | 3385 | term.h termio.h termios.h unistd.h wait.h sys/wait.h \ |
3386 | 3386 | 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 \ | |
3388 | 3388 | dirent.h sys/ndir.h sys/dir.h ndir.h \ |
3389 | 3389 | curses.h ncurses.h \ |
3390 | 3390 | poll.h sys/poll.h |
@@ -4683,6 +4683,12 @@ EOF | ||
4683 | 4683 | EOF |
4684 | 4684 | |
4685 | 4685 | ;; |
4686 | + ia64-*-aix*) | |
4687 | + cat >> confdefs.h <<\EOF | |
4688 | +#define NEW_PROC_API 1 | |
4689 | +EOF | |
4690 | + | |
4691 | + ;; | |
4686 | 4692 | *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*) |
4687 | 4693 | cat >> confdefs.h <<\EOF |
4688 | 4694 | #define NEW_PROC_API 1 |
@@ -4700,12 +4706,12 @@ fi | ||
4700 | 4706 | |
4701 | 4707 | if test "$ac_cv_header_sys_procfs_h" = yes; then |
4702 | 4708 | 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 | |
4704 | 4710 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then |
4705 | 4711 | echo $ac_n "(cached) $ac_c" 1>&6 |
4706 | 4712 | else |
4707 | 4713 | cat > conftest.$ac_ext <<EOF |
4708 | -#line 4709 "configure" | |
4714 | +#line 4715 "configure" | |
4709 | 4715 | #include "confdefs.h" |
4710 | 4716 | |
4711 | 4717 | #define _SYSCALL32 |
@@ -4714,7 +4720,7 @@ int main() { | ||
4714 | 4720 | pstatus_t avar |
4715 | 4721 | ; return 0; } |
4716 | 4722 | 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 | |
4718 | 4724 | rm -rf conftest* |
4719 | 4725 | bfd_cv_have_sys_procfs_type_pstatus_t=yes |
4720 | 4726 | else |
@@ -4736,12 +4742,12 @@ EOF | ||
4736 | 4742 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6 |
4737 | 4743 | |
4738 | 4744 | 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 | |
4740 | 4746 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then |
4741 | 4747 | echo $ac_n "(cached) $ac_c" 1>&6 |
4742 | 4748 | else |
4743 | 4749 | cat > conftest.$ac_ext <<EOF |
4744 | -#line 4745 "configure" | |
4750 | +#line 4751 "configure" | |
4745 | 4751 | #include "confdefs.h" |
4746 | 4752 | |
4747 | 4753 | #define _SYSCALL32 |
@@ -4750,7 +4756,7 @@ int main() { | ||
4750 | 4756 | prrun_t avar |
4751 | 4757 | ; return 0; } |
4752 | 4758 | 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 | |
4754 | 4760 | rm -rf conftest* |
4755 | 4761 | bfd_cv_have_sys_procfs_type_prrun_t=yes |
4756 | 4762 | else |
@@ -4772,12 +4778,12 @@ EOF | ||
4772 | 4778 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6 |
4773 | 4779 | |
4774 | 4780 | 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 | |
4776 | 4782 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then |
4777 | 4783 | echo $ac_n "(cached) $ac_c" 1>&6 |
4778 | 4784 | else |
4779 | 4785 | cat > conftest.$ac_ext <<EOF |
4780 | -#line 4781 "configure" | |
4786 | +#line 4787 "configure" | |
4781 | 4787 | #include "confdefs.h" |
4782 | 4788 | |
4783 | 4789 | #define _SYSCALL32 |
@@ -4786,7 +4792,7 @@ int main() { | ||
4786 | 4792 | gregset_t avar |
4787 | 4793 | ; return 0; } |
4788 | 4794 | 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 | |
4790 | 4796 | rm -rf conftest* |
4791 | 4797 | bfd_cv_have_sys_procfs_type_gregset_t=yes |
4792 | 4798 | else |
@@ -4808,12 +4814,12 @@ EOF | ||
4808 | 4814 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6 |
4809 | 4815 | |
4810 | 4816 | 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 | |
4812 | 4818 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then |
4813 | 4819 | echo $ac_n "(cached) $ac_c" 1>&6 |
4814 | 4820 | else |
4815 | 4821 | cat > conftest.$ac_ext <<EOF |
4816 | -#line 4817 "configure" | |
4822 | +#line 4823 "configure" | |
4817 | 4823 | #include "confdefs.h" |
4818 | 4824 | |
4819 | 4825 | #define _SYSCALL32 |
@@ -4822,7 +4828,7 @@ int main() { | ||
4822 | 4828 | fpregset_t avar |
4823 | 4829 | ; return 0; } |
4824 | 4830 | 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 | |
4826 | 4832 | rm -rf conftest* |
4827 | 4833 | bfd_cv_have_sys_procfs_type_fpregset_t=yes |
4828 | 4834 | else |
@@ -4844,12 +4850,12 @@ EOF | ||
4844 | 4850 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_fpregset_t" 1>&6 |
4845 | 4851 | |
4846 | 4852 | 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 | |
4848 | 4854 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset_t'+set}'`\" = set"; then |
4849 | 4855 | echo $ac_n "(cached) $ac_c" 1>&6 |
4850 | 4856 | else |
4851 | 4857 | cat > conftest.$ac_ext <<EOF |
4852 | -#line 4853 "configure" | |
4858 | +#line 4859 "configure" | |
4853 | 4859 | #include "confdefs.h" |
4854 | 4860 | |
4855 | 4861 | #define _SYSCALL32 |
@@ -4858,7 +4864,7 @@ int main() { | ||
4858 | 4864 | prgregset_t avar |
4859 | 4865 | ; return 0; } |
4860 | 4866 | 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 | |
4862 | 4868 | rm -rf conftest* |
4863 | 4869 | bfd_cv_have_sys_procfs_type_prgregset_t=yes |
4864 | 4870 | else |
@@ -4880,12 +4886,12 @@ EOF | ||
4880 | 4886 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset_t" 1>&6 |
4881 | 4887 | |
4882 | 4888 | 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 | |
4884 | 4890 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset_t'+set}'`\" = set"; then |
4885 | 4891 | echo $ac_n "(cached) $ac_c" 1>&6 |
4886 | 4892 | else |
4887 | 4893 | cat > conftest.$ac_ext <<EOF |
4888 | -#line 4889 "configure" | |
4894 | +#line 4895 "configure" | |
4889 | 4895 | #include "confdefs.h" |
4890 | 4896 | |
4891 | 4897 | #define _SYSCALL32 |
@@ -4894,7 +4900,7 @@ int main() { | ||
4894 | 4900 | prfpregset_t avar |
4895 | 4901 | ; return 0; } |
4896 | 4902 | 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 | |
4898 | 4904 | rm -rf conftest* |
4899 | 4905 | bfd_cv_have_sys_procfs_type_prfpregset_t=yes |
4900 | 4906 | else |
@@ -4916,12 +4922,12 @@ EOF | ||
4916 | 4922 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset_t" 1>&6 |
4917 | 4923 | |
4918 | 4924 | 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 | |
4920 | 4926 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset32_t'+set}'`\" = set"; then |
4921 | 4927 | echo $ac_n "(cached) $ac_c" 1>&6 |
4922 | 4928 | else |
4923 | 4929 | cat > conftest.$ac_ext <<EOF |
4924 | -#line 4925 "configure" | |
4930 | +#line 4931 "configure" | |
4925 | 4931 | #include "confdefs.h" |
4926 | 4932 | |
4927 | 4933 | #define _SYSCALL32 |
@@ -4930,7 +4936,7 @@ int main() { | ||
4930 | 4936 | prgregset32_t avar |
4931 | 4937 | ; return 0; } |
4932 | 4938 | 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 | |
4934 | 4940 | rm -rf conftest* |
4935 | 4941 | bfd_cv_have_sys_procfs_type_prgregset32_t=yes |
4936 | 4942 | else |
@@ -4952,12 +4958,12 @@ EOF | ||
4952 | 4958 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset32_t" 1>&6 |
4953 | 4959 | |
4954 | 4960 | 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 | |
4956 | 4962 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset32_t'+set}'`\" = set"; then |
4957 | 4963 | echo $ac_n "(cached) $ac_c" 1>&6 |
4958 | 4964 | else |
4959 | 4965 | cat > conftest.$ac_ext <<EOF |
4960 | -#line 4961 "configure" | |
4966 | +#line 4967 "configure" | |
4961 | 4967 | #include "confdefs.h" |
4962 | 4968 | |
4963 | 4969 | #define _SYSCALL32 |
@@ -4966,7 +4972,7 @@ int main() { | ||
4966 | 4972 | prfpregset32_t avar |
4967 | 4973 | ; return 0; } |
4968 | 4974 | 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 | |
4970 | 4976 | rm -rf conftest* |
4971 | 4977 | bfd_cv_have_sys_procfs_type_prfpregset32_t=yes |
4972 | 4978 | else |
@@ -4988,12 +4994,12 @@ EOF | ||
4988 | 4994 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset32_t" 1>&6 |
4989 | 4995 | |
4990 | 4996 | 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 | |
4992 | 4998 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpid_t'+set}'`\" = set"; then |
4993 | 4999 | echo $ac_n "(cached) $ac_c" 1>&6 |
4994 | 5000 | else |
4995 | 5001 | cat > conftest.$ac_ext <<EOF |
4996 | -#line 4997 "configure" | |
5002 | +#line 5003 "configure" | |
4997 | 5003 | #include "confdefs.h" |
4998 | 5004 | |
4999 | 5005 | #define _SYSCALL32 |
@@ -5002,7 +5008,7 @@ int main() { | ||
5002 | 5008 | lwpid_t avar |
5003 | 5009 | ; return 0; } |
5004 | 5010 | 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 | |
5006 | 5012 | rm -rf conftest* |
5007 | 5013 | bfd_cv_have_sys_procfs_type_lwpid_t=yes |
5008 | 5014 | else |
@@ -5024,12 +5030,12 @@ EOF | ||
5024 | 5030 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpid_t" 1>&6 |
5025 | 5031 | |
5026 | 5032 | 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 | |
5028 | 5034 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psaddr_t'+set}'`\" = set"; then |
5029 | 5035 | echo $ac_n "(cached) $ac_c" 1>&6 |
5030 | 5036 | else |
5031 | 5037 | cat > conftest.$ac_ext <<EOF |
5032 | -#line 5033 "configure" | |
5038 | +#line 5039 "configure" | |
5033 | 5039 | #include "confdefs.h" |
5034 | 5040 | |
5035 | 5041 | #define _SYSCALL32 |
@@ -5038,7 +5044,7 @@ int main() { | ||
5038 | 5044 | psaddr_t avar |
5039 | 5045 | ; return 0; } |
5040 | 5046 | 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 | |
5042 | 5048 | rm -rf conftest* |
5043 | 5049 | bfd_cv_have_sys_procfs_type_psaddr_t=yes |
5044 | 5050 | else |
@@ -5059,15 +5065,159 @@ EOF | ||
5059 | 5065 | fi |
5060 | 5066 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_psaddr_t" 1>&6 |
5061 | 5067 | |
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 | + | |
5062 | 5212 | |
5063 | 5213 | |
5064 | 5214 | 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 | |
5066 | 5216 | if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map32'+set}'`\" = set"; then |
5067 | 5217 | echo $ac_n "(cached) $ac_c" 1>&6 |
5068 | 5218 | else |
5069 | 5219 | cat > conftest.$ac_ext <<EOF |
5070 | -#line 5071 "configure" | |
5220 | +#line 5221 "configure" | |
5071 | 5221 | #include "confdefs.h" |
5072 | 5222 | #define _SYSCALL32 |
5073 | 5223 | #include <sys/link.h> |
@@ -5075,7 +5225,7 @@ int main() { | ||
5075 | 5225 | struct link_map32 l; |
5076 | 5226 | ; return 0; } |
5077 | 5227 | 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 | |
5079 | 5229 | rm -rf conftest* |
5080 | 5230 | gdb_cv_have_struct_link_map32=yes |
5081 | 5231 | else |
@@ -5099,7 +5249,7 @@ EOF | ||
5099 | 5249 | |
5100 | 5250 | if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then |
5101 | 5251 | 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 | |
5103 | 5253 | if eval "test \"`echo '$''{'gdb_cv_prfpregset_t_broken'+set}'`\" = set"; then |
5104 | 5254 | echo $ac_n "(cached) $ac_c" 1>&6 |
5105 | 5255 | else |
@@ -5107,7 +5257,7 @@ else | ||
5107 | 5257 | gdb_cv_prfpregset_t_broken=yes |
5108 | 5258 | else |
5109 | 5259 | cat > conftest.$ac_ext <<EOF |
5110 | -#line 5111 "configure" | |
5260 | +#line 5261 "configure" | |
5111 | 5261 | #include "confdefs.h" |
5112 | 5262 | #include <sys/procfs.h> |
5113 | 5263 | int main () |
@@ -5117,7 +5267,7 @@ else | ||
5117 | 5267 | return 0; |
5118 | 5268 | } |
5119 | 5269 | 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 | |
5121 | 5271 | then |
5122 | 5272 | gdb_cv_prfpregset_t_broken=no |
5123 | 5273 | else |
@@ -5142,12 +5292,12 @@ EOF | ||
5142 | 5292 | |
5143 | 5293 | |
5144 | 5294 | 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 | |
5146 | 5296 | if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then |
5147 | 5297 | echo $ac_n "(cached) $ac_c" 1>&6 |
5148 | 5298 | else |
5149 | 5299 | cat > conftest.$ac_ext <<EOF |
5150 | -#line 5151 "configure" | |
5300 | +#line 5301 "configure" | |
5151 | 5301 | #include "confdefs.h" |
5152 | 5302 | #include <unistd.h> |
5153 | 5303 | #include <sys/types.h> |
@@ -5160,7 +5310,7 @@ int main() { | ||
5160 | 5310 | |
5161 | 5311 | ; return 0; } |
5162 | 5312 | 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 | |
5164 | 5314 | rm -rf conftest* |
5165 | 5315 | gdb_cv_have_procfs_piocset=yes |
5166 | 5316 | else |
@@ -5182,7 +5332,7 @@ EOF | ||
5182 | 5332 | fi |
5183 | 5333 | |
5184 | 5334 | 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 | |
5186 | 5336 | ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` |
5187 | 5337 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5188 | 5338 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5190,14 +5340,14 @@ else | ||
5190 | 5340 | ac_save_LIBS="$LIBS" |
5191 | 5341 | LIBS="-lm $LIBS" |
5192 | 5342 | cat > conftest.$ac_ext <<EOF |
5193 | -#line 5194 "configure" | |
5343 | +#line 5344 "configure" | |
5194 | 5344 | #include "confdefs.h" |
5195 | 5345 | |
5196 | 5346 | int main() { |
5197 | 5347 | main() |
5198 | 5348 | ; return 0; } |
5199 | 5349 | 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 | |
5201 | 5351 | rm -rf conftest* |
5202 | 5352 | eval "ac_cv_lib_$ac_lib_var=yes" |
5203 | 5353 | else |
@@ -5226,7 +5376,7 @@ fi | ||
5226 | 5376 | |
5227 | 5377 | |
5228 | 5378 | 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 | |
5230 | 5380 | ac_lib_var=`echo c'_'wctype | sed 'y%./+-%__p_%'` |
5231 | 5381 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5232 | 5382 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5234,7 +5384,7 @@ else | ||
5234 | 5384 | ac_save_LIBS="$LIBS" |
5235 | 5385 | LIBS="-lc $LIBS" |
5236 | 5386 | cat > conftest.$ac_ext <<EOF |
5237 | -#line 5238 "configure" | |
5387 | +#line 5388 "configure" | |
5238 | 5388 | #include "confdefs.h" |
5239 | 5389 | /* Override any gcc2 internal prototype to avoid an error. */ |
5240 | 5390 | /* We use char because int might match the return type of a gcc2 |
@@ -5245,7 +5395,7 @@ int main() { | ||
5245 | 5395 | wctype() |
5246 | 5396 | ; return 0; } |
5247 | 5397 | 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 | |
5249 | 5399 | rm -rf conftest* |
5250 | 5400 | eval "ac_cv_lib_$ac_lib_var=yes" |
5251 | 5401 | else |
@@ -5264,7 +5414,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
5264 | 5414 | else |
5265 | 5415 | echo "$ac_t""no" 1>&6 |
5266 | 5416 | 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 | |
5268 | 5418 | ac_lib_var=`echo w'_'wctype | sed 'y%./+-%__p_%'` |
5269 | 5419 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5270 | 5420 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5272,7 +5422,7 @@ else | ||
5272 | 5422 | ac_save_LIBS="$LIBS" |
5273 | 5423 | LIBS="-lw $LIBS" |
5274 | 5424 | cat > conftest.$ac_ext <<EOF |
5275 | -#line 5276 "configure" | |
5425 | +#line 5426 "configure" | |
5276 | 5426 | #include "confdefs.h" |
5277 | 5427 | /* Override any gcc2 internal prototype to avoid an error. */ |
5278 | 5428 | /* We use char because int might match the return type of a gcc2 |
@@ -5283,7 +5433,7 @@ int main() { | ||
5283 | 5433 | wctype() |
5284 | 5434 | ; return 0; } |
5285 | 5435 | 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 | |
5287 | 5437 | rm -rf conftest* |
5288 | 5438 | eval "ac_cv_lib_$ac_lib_var=yes" |
5289 | 5439 | else |
@@ -5315,12 +5465,12 @@ fi | ||
5315 | 5465 | |
5316 | 5466 | |
5317 | 5467 | 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 | |
5319 | 5469 | if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then |
5320 | 5470 | echo $ac_n "(cached) $ac_c" 1>&6 |
5321 | 5471 | else |
5322 | 5472 | cat > conftest.$ac_ext <<EOF |
5323 | -#line 5324 "configure" | |
5473 | +#line 5474 "configure" | |
5324 | 5474 | #include "confdefs.h" |
5325 | 5475 | |
5326 | 5476 | int main() { |
@@ -5330,7 +5480,7 @@ int main() { | ||
5330 | 5480 | |
5331 | 5481 | ; return 0; } |
5332 | 5482 | 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 | |
5334 | 5484 | rm -rf conftest* |
5335 | 5485 | gdb_cv_c_long_long=yes |
5336 | 5486 | else |
@@ -5352,7 +5502,7 @@ fi | ||
5352 | 5502 | |
5353 | 5503 | |
5354 | 5504 | 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 | |
5356 | 5506 | if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then |
5357 | 5507 | echo $ac_n "(cached) $ac_c" 1>&6 |
5358 | 5508 | else |
@@ -5360,7 +5510,7 @@ else | ||
5360 | 5510 | gdb_cv_printf_has_long_long=no |
5361 | 5511 | else |
5362 | 5512 | cat > conftest.$ac_ext <<EOF |
5363 | -#line 5364 "configure" | |
5513 | +#line 5514 "configure" | |
5364 | 5514 | #include "confdefs.h" |
5365 | 5515 | |
5366 | 5516 | int main () { |
@@ -5374,7 +5524,7 @@ int main () { | ||
5374 | 5524 | return (strcmp ("0x0123456789abcdef", buf)); |
5375 | 5525 | } |
5376 | 5526 | 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 | |
5378 | 5528 | then |
5379 | 5529 | gdb_cv_printf_has_long_long=yes |
5380 | 5530 | else |
@@ -5398,19 +5548,19 @@ echo "$ac_t""$gdb_cv_printf_has_long_long" 1>&6 | ||
5398 | 5548 | |
5399 | 5549 | |
5400 | 5550 | 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 | |
5402 | 5552 | if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then |
5403 | 5553 | echo $ac_n "(cached) $ac_c" 1>&6 |
5404 | 5554 | else |
5405 | 5555 | cat > conftest.$ac_ext <<EOF |
5406 | -#line 5407 "configure" | |
5556 | +#line 5557 "configure" | |
5407 | 5557 | #include "confdefs.h" |
5408 | 5558 | |
5409 | 5559 | int main() { |
5410 | 5560 | long double foo; |
5411 | 5561 | ; return 0; } |
5412 | 5562 | 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 | |
5414 | 5564 | rm -rf conftest* |
5415 | 5565 | ac_cv_c_long_double=yes |
5416 | 5566 | else |
@@ -5432,7 +5582,7 @@ fi | ||
5432 | 5582 | |
5433 | 5583 | |
5434 | 5584 | 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 | |
5436 | 5586 | if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then |
5437 | 5587 | echo $ac_n "(cached) $ac_c" 1>&6 |
5438 | 5588 | else |
@@ -5440,7 +5590,7 @@ else | ||
5440 | 5590 | gdb_cv_printf_has_long_double=no |
5441 | 5591 | else |
5442 | 5592 | cat > conftest.$ac_ext <<EOF |
5443 | -#line 5444 "configure" | |
5593 | +#line 5594 "configure" | |
5444 | 5594 | #include "confdefs.h" |
5445 | 5595 | |
5446 | 5596 | int main () { |
@@ -5450,7 +5600,7 @@ int main () { | ||
5450 | 5600 | return (strncmp ("3.14159", buf, 7)); |
5451 | 5601 | } |
5452 | 5602 | 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 | |
5454 | 5604 | then |
5455 | 5605 | gdb_cv_printf_has_long_double=yes |
5456 | 5606 | else |
@@ -5474,7 +5624,7 @@ echo "$ac_t""$gdb_cv_printf_has_long_double" 1>&6 | ||
5474 | 5624 | |
5475 | 5625 | |
5476 | 5626 | 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 | |
5478 | 5628 | if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then |
5479 | 5629 | echo $ac_n "(cached) $ac_c" 1>&6 |
5480 | 5630 | else |
@@ -5482,7 +5632,7 @@ else | ||
5482 | 5632 | gdb_cv_scanf_has_long_double=no |
5483 | 5633 | else |
5484 | 5634 | cat > conftest.$ac_ext <<EOF |
5485 | -#line 5486 "configure" | |
5635 | +#line 5636 "configure" | |
5486 | 5636 | #include "confdefs.h" |
5487 | 5637 | |
5488 | 5638 | int main () { |
@@ -5492,7 +5642,7 @@ int main () { | ||
5492 | 5642 | return !(f > 3.14159 && f < 3.14160); |
5493 | 5643 | } |
5494 | 5644 | 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 | |
5496 | 5646 | then |
5497 | 5647 | gdb_cv_scanf_has_long_double=yes |
5498 | 5648 | else |
@@ -5518,17 +5668,17 @@ for ac_hdr in unistd.h | ||
5518 | 5668 | do |
5519 | 5669 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5520 | 5670 | 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 | |
5522 | 5672 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5523 | 5673 | echo $ac_n "(cached) $ac_c" 1>&6 |
5524 | 5674 | else |
5525 | 5675 | cat > conftest.$ac_ext <<EOF |
5526 | -#line 5527 "configure" | |
5676 | +#line 5677 "configure" | |
5527 | 5677 | #include "confdefs.h" |
5528 | 5678 | #include <$ac_hdr> |
5529 | 5679 | EOF |
5530 | 5680 | 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; } | |
5532 | 5682 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5533 | 5683 | if test -z "$ac_err"; then |
5534 | 5684 | rm -rf conftest* |
@@ -5557,12 +5707,12 @@ done | ||
5557 | 5707 | for ac_func in getpagesize |
5558 | 5708 | do |
5559 | 5709 | 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 | |
5561 | 5711 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5562 | 5712 | echo $ac_n "(cached) $ac_c" 1>&6 |
5563 | 5713 | else |
5564 | 5714 | cat > conftest.$ac_ext <<EOF |
5565 | -#line 5566 "configure" | |
5715 | +#line 5716 "configure" | |
5566 | 5716 | #include "confdefs.h" |
5567 | 5717 | /* System header to define __stub macros and hopefully few prototypes, |
5568 | 5718 | which can conflict with char $ac_func(); below. */ |
@@ -5585,7 +5735,7 @@ $ac_func(); | ||
5585 | 5735 | |
5586 | 5736 | ; return 0; } |
5587 | 5737 | 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 | |
5589 | 5739 | rm -rf conftest* |
5590 | 5740 | eval "ac_cv_func_$ac_func=yes" |
5591 | 5741 | else |
@@ -5610,7 +5760,7 @@ fi | ||
5610 | 5760 | done |
5611 | 5761 | |
5612 | 5762 | 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 | |
5614 | 5764 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
5615 | 5765 | echo $ac_n "(cached) $ac_c" 1>&6 |
5616 | 5766 | else |
@@ -5618,7 +5768,7 @@ else | ||
5618 | 5768 | ac_cv_func_mmap_fixed_mapped=no |
5619 | 5769 | else |
5620 | 5770 | cat > conftest.$ac_ext <<EOF |
5621 | -#line 5622 "configure" | |
5771 | +#line 5772 "configure" | |
5622 | 5772 | #include "confdefs.h" |
5623 | 5773 | |
5624 | 5774 | /* Thanks to Mike Haertel and Jim Avera for this test. |
@@ -5758,7 +5908,7 @@ main() | ||
5758 | 5908 | } |
5759 | 5909 | |
5760 | 5910 | 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 | |
5762 | 5912 | then |
5763 | 5913 | ac_cv_func_mmap_fixed_mapped=yes |
5764 | 5914 | else |
@@ -5787,7 +5937,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then | ||
5787 | 5937 | case ${host_os} in |
5788 | 5938 | hpux*) |
5789 | 5939 | 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 | |
5791 | 5941 | if test -f /usr/include/dce/cma_config.h ; then |
5792 | 5942 | if test "$GCC" = "yes" ; then |
5793 | 5943 | echo "$ac_t""yes" 1>&6 |
@@ -5806,7 +5956,7 @@ EOF | ||
5806 | 5956 | ;; |
5807 | 5957 | solaris*) |
5808 | 5958 | 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 | |
5810 | 5960 | if test -f /usr/lib/libthread_db.so.1 ; then |
5811 | 5961 | echo "$ac_t""yes" 1>&6 |
5812 | 5962 | cat >> confdefs.h <<\EOF |
@@ -5816,7 +5966,7 @@ EOF | ||
5816 | 5966 | CONFIG_LIB_OBS="${CONFIG_LIB_OBS} sol-thread.o" |
5817 | 5967 | CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c" |
5818 | 5968 | 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 | |
5820 | 5970 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
5821 | 5971 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5822 | 5972 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5824,7 +5974,7 @@ else | ||
5824 | 5974 | ac_save_LIBS="$LIBS" |
5825 | 5975 | LIBS="-ldl $LIBS" |
5826 | 5976 | cat > conftest.$ac_ext <<EOF |
5827 | -#line 5828 "configure" | |
5977 | +#line 5978 "configure" | |
5828 | 5978 | #include "confdefs.h" |
5829 | 5979 | /* Override any gcc2 internal prototype to avoid an error. */ |
5830 | 5980 | /* We use char because int might match the return type of a gcc2 |
@@ -5835,7 +5985,7 @@ int main() { | ||
5835 | 5985 | dlopen() |
5836 | 5986 | ; return 0; } |
5837 | 5987 | 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 | |
5839 | 5989 | rm -rf conftest* |
5840 | 5990 | eval "ac_cv_lib_$ac_lib_var=yes" |
5841 | 5991 | else |
@@ -5867,17 +6017,17 @@ fi | ||
5867 | 6017 | # all symbols visible in the dynamic symbol table. |
5868 | 6018 | hold_ldflags=$LDFLAGS |
5869 | 6019 | 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 | |
5871 | 6021 | LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" |
5872 | 6022 | cat > conftest.$ac_ext <<EOF |
5873 | -#line 5874 "configure" | |
6023 | +#line 6024 "configure" | |
5874 | 6024 | #include "confdefs.h" |
5875 | 6025 | |
5876 | 6026 | int main() { |
5877 | 6027 | int i; |
5878 | 6028 | ; return 0; } |
5879 | 6029 | 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 | |
5881 | 6031 | rm -rf conftest* |
5882 | 6032 | found=yes |
5883 | 6033 | else |
@@ -5896,13 +6046,13 @@ rm -f conftest* | ||
5896 | 6046 | # Sun randomly tweaked the prototypes in <proc_service.h> |
5897 | 6047 | # at one point. |
5898 | 6048 | 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 | |
5900 | 6050 | if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then |
5901 | 6051 | echo $ac_n "(cached) $ac_c" 1>&6 |
5902 | 6052 | else |
5903 | 6053 | |
5904 | 6054 | cat > conftest.$ac_ext <<EOF |
5905 | -#line 5906 "configure" | |
6055 | +#line 6056 "configure" | |
5906 | 6056 | #include "confdefs.h" |
5907 | 6057 | |
5908 | 6058 | #include <proc_service.h> |
@@ -5913,7 +6063,7 @@ int main() { | ||
5913 | 6063 | |
5914 | 6064 | ; return 0; } |
5915 | 6065 | 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 | |
5917 | 6067 | rm -rf conftest* |
5918 | 6068 | gdb_cv_proc_service_is_old=no |
5919 | 6069 | else |
@@ -6130,7 +6280,7 @@ WERROR_CFLAGS="" | ||
6130 | 6280 | if test "x${build_warnings}" != x -a "x$GCC" = xyes |
6131 | 6281 | then |
6132 | 6282 | 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 | |
6134 | 6284 | # Separate out the -Werror flag as some files just cannot be |
6135 | 6285 | # compiled with it enabled. |
6136 | 6286 | for w in ${build_warnings}; do |
@@ -6193,12 +6343,12 @@ fi | ||
6193 | 6343 | |
6194 | 6344 | if test $want_included_regex = false; then |
6195 | 6345 | 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 | |
6197 | 6347 | if eval "test \"`echo '$''{'gdb_cv_have_gnu_regex'+set}'`\" = set"; then |
6198 | 6348 | echo $ac_n "(cached) $ac_c" 1>&6 |
6199 | 6349 | else |
6200 | 6350 | cat > conftest.$ac_ext <<EOF |
6201 | -#line 6202 "configure" | |
6351 | +#line 6352 "configure" | |
6202 | 6352 | #include "confdefs.h" |
6203 | 6353 | #include <gnu-versions.h> |
6204 | 6354 | #include <sys/types.h> |
@@ -6210,7 +6360,7 @@ int main() { | ||
6210 | 6360 | |
6211 | 6361 | ; return 0; } |
6212 | 6362 | 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 | |
6214 | 6364 | rm -rf conftest* |
6215 | 6365 | gdb_cv_have_gnu_regex=yes |
6216 | 6366 | else |
@@ -6239,12 +6389,12 @@ fi | ||
6239 | 6389 | |
6240 | 6390 | # In the Cygwin environment, we need some additional flags. |
6241 | 6391 | 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 | |
6243 | 6393 | if eval "test \"`echo '$''{'gdb_cv_os_cygwin'+set}'`\" = set"; then |
6244 | 6394 | echo $ac_n "(cached) $ac_c" 1>&6 |
6245 | 6395 | else |
6246 | 6396 | cat > conftest.$ac_ext <<EOF |
6247 | -#line 6248 "configure" | |
6397 | +#line 6398 "configure" | |
6248 | 6398 | #include "confdefs.h" |
6249 | 6399 | |
6250 | 6400 | #if defined (__CYGWIN__) || defined (__CYGWIN32__) |
@@ -6282,7 +6432,7 @@ if test x$gdb_cv_os_cygwin = xyes; then | ||
6282 | 6432 | else |
6283 | 6433 | TERM_LIB= |
6284 | 6434 | 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 | |
6286 | 6436 | ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
6287 | 6437 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6288 | 6438 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -6290,7 +6440,7 @@ else | ||
6290 | 6440 | ac_save_LIBS="$LIBS" |
6291 | 6441 | LIBS="-lncurses $LIBS" |
6292 | 6442 | cat > conftest.$ac_ext <<EOF |
6293 | -#line 6294 "configure" | |
6443 | +#line 6444 "configure" | |
6294 | 6444 | #include "confdefs.h" |
6295 | 6445 | /* Override any gcc2 internal prototype to avoid an error. */ |
6296 | 6446 | /* We use char because int might match the return type of a gcc2 |
@@ -6301,7 +6451,7 @@ int main() { | ||
6301 | 6451 | tgetent() |
6302 | 6452 | ; return 0; } |
6303 | 6453 | 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 | |
6305 | 6455 | rm -rf conftest* |
6306 | 6456 | eval "ac_cv_lib_$ac_lib_var=yes" |
6307 | 6457 | else |
@@ -6320,7 +6470,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
6320 | 6470 | else |
6321 | 6471 | echo "$ac_t""no" 1>&6 |
6322 | 6472 | 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 | |
6324 | 6474 | ac_lib_var=`echo Hcurses'_'tgetent | sed 'y%./+-%__p_%'` |
6325 | 6475 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6326 | 6476 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -6328,7 +6478,7 @@ else | ||
6328 | 6478 | ac_save_LIBS="$LIBS" |
6329 | 6479 | LIBS="-lHcurses $LIBS" |
6330 | 6480 | cat > conftest.$ac_ext <<EOF |
6331 | -#line 6332 "configure" | |
6481 | +#line 6482 "configure" | |
6332 | 6482 | #include "confdefs.h" |
6333 | 6483 | /* Override any gcc2 internal prototype to avoid an error. */ |
6334 | 6484 | /* We use char because int might match the return type of a gcc2 |
@@ -6339,7 +6489,7 @@ int main() { | ||
6339 | 6489 | tgetent() |
6340 | 6490 | ; return 0; } |
6341 | 6491 | 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 | |
6343 | 6493 | rm -rf conftest* |
6344 | 6494 | eval "ac_cv_lib_$ac_lib_var=yes" |
6345 | 6495 | else |
@@ -6358,7 +6508,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
6358 | 6508 | else |
6359 | 6509 | echo "$ac_t""no" 1>&6 |
6360 | 6510 | 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 | |
6362 | 6512 | ac_lib_var=`echo termlib'_'tgetent | sed 'y%./+-%__p_%'` |
6363 | 6513 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6364 | 6514 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -6366,7 +6516,7 @@ else | ||
6366 | 6516 | ac_save_LIBS="$LIBS" |
6367 | 6517 | LIBS="-ltermlib $LIBS" |
6368 | 6518 | cat > conftest.$ac_ext <<EOF |
6369 | -#line 6370 "configure" | |
6519 | +#line 6520 "configure" | |
6370 | 6520 | #include "confdefs.h" |
6371 | 6521 | /* Override any gcc2 internal prototype to avoid an error. */ |
6372 | 6522 | /* We use char because int might match the return type of a gcc2 |
@@ -6377,7 +6527,7 @@ int main() { | ||
6377 | 6527 | tgetent() |
6378 | 6528 | ; return 0; } |
6379 | 6529 | 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 | |
6381 | 6531 | rm -rf conftest* |
6382 | 6532 | eval "ac_cv_lib_$ac_lib_var=yes" |
6383 | 6533 | else |
@@ -6396,7 +6546,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
6396 | 6546 | else |
6397 | 6547 | echo "$ac_t""no" 1>&6 |
6398 | 6548 | 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 | |
6400 | 6550 | ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
6401 | 6551 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6402 | 6552 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -6404,7 +6554,7 @@ else | ||
6404 | 6554 | ac_save_LIBS="$LIBS" |
6405 | 6555 | LIBS="-ltermcap $LIBS" |
6406 | 6556 | cat > conftest.$ac_ext <<EOF |
6407 | -#line 6408 "configure" | |
6557 | +#line 6558 "configure" | |
6408 | 6558 | #include "confdefs.h" |
6409 | 6559 | /* Override any gcc2 internal prototype to avoid an error. */ |
6410 | 6560 | /* We use char because int might match the return type of a gcc2 |
@@ -6415,7 +6565,7 @@ int main() { | ||
6415 | 6565 | tgetent() |
6416 | 6566 | ; return 0; } |
6417 | 6567 | 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 | |
6419 | 6569 | rm -rf conftest* |
6420 | 6570 | eval "ac_cv_lib_$ac_lib_var=yes" |
6421 | 6571 | else |
@@ -6434,7 +6584,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
6434 | 6584 | else |
6435 | 6585 | echo "$ac_t""no" 1>&6 |
6436 | 6586 | 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 | |
6438 | 6588 | ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
6439 | 6589 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6440 | 6590 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -6442,7 +6592,7 @@ else | ||
6442 | 6592 | ac_save_LIBS="$LIBS" |
6443 | 6593 | LIBS="-lcurses $LIBS" |
6444 | 6594 | cat > conftest.$ac_ext <<EOF |
6445 | -#line 6446 "configure" | |
6595 | +#line 6596 "configure" | |
6446 | 6596 | #include "confdefs.h" |
6447 | 6597 | /* Override any gcc2 internal prototype to avoid an error. */ |
6448 | 6598 | /* We use char because int might match the return type of a gcc2 |
@@ -6453,7 +6603,7 @@ int main() { | ||
6453 | 6603 | tgetent() |
6454 | 6604 | ; return 0; } |
6455 | 6605 | 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 | |
6457 | 6607 | rm -rf conftest* |
6458 | 6608 | eval "ac_cv_lib_$ac_lib_var=yes" |
6459 | 6609 | else |
@@ -6472,7 +6622,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
6472 | 6622 | else |
6473 | 6623 | echo "$ac_t""no" 1>&6 |
6474 | 6624 | 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 | |
6476 | 6626 | ac_lib_var=`echo terminfo'_'tgetent | sed 'y%./+-%__p_%'` |
6477 | 6627 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6478 | 6628 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -6480,7 +6630,7 @@ else | ||
6480 | 6630 | ac_save_LIBS="$LIBS" |
6481 | 6631 | LIBS="-lterminfo $LIBS" |
6482 | 6632 | cat > conftest.$ac_ext <<EOF |
6483 | -#line 6484 "configure" | |
6633 | +#line 6634 "configure" | |
6484 | 6634 | #include "confdefs.h" |
6485 | 6635 | /* Override any gcc2 internal prototype to avoid an error. */ |
6486 | 6636 | /* We use char because int might match the return type of a gcc2 |
@@ -6491,7 +6641,7 @@ int main() { | ||
6491 | 6641 | tgetent() |
6492 | 6642 | ; return 0; } |
6493 | 6643 | 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 | |
6495 | 6645 | rm -rf conftest* |
6496 | 6646 | eval "ac_cv_lib_$ac_lib_var=yes" |
6497 | 6647 | else |
@@ -6649,7 +6799,7 @@ if test "${with_tclconfig+set}" = set; then | ||
6649 | 6799 | fi |
6650 | 6800 | |
6651 | 6801 | 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 | |
6653 | 6803 | if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then |
6654 | 6804 | echo $ac_n "(cached) $ac_c" 1>&6 |
6655 | 6805 | else |
@@ -6757,7 +6907,7 @@ if test "${with_tkconfig+set}" = set; then | ||
6757 | 6907 | fi |
6758 | 6908 | |
6759 | 6909 | 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 | |
6761 | 6911 | if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then |
6762 | 6912 | echo $ac_n "(cached) $ac_c" 1>&6 |
6763 | 6913 | else |
@@ -6853,7 +7003,7 @@ fi | ||
6853 | 7003 | |
6854 | 7004 | no_tcl=true |
6855 | 7005 | 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 | |
6857 | 7007 | # Check whether --with-tclinclude or --without-tclinclude was given. |
6858 | 7008 | if test "${with_tclinclude+set}" = set; then |
6859 | 7009 | withval="$with_tclinclude" |
@@ -6919,17 +7069,17 @@ fi | ||
6919 | 7069 | if test x"${ac_cv_c_tclh}" = x ; then |
6920 | 7070 | ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'` |
6921 | 7071 | 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 | |
6923 | 7073 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6924 | 7074 | echo $ac_n "(cached) $ac_c" 1>&6 |
6925 | 7075 | else |
6926 | 7076 | cat > conftest.$ac_ext <<EOF |
6927 | -#line 6928 "configure" | |
7077 | +#line 7078 "configure" | |
6928 | 7078 | #include "confdefs.h" |
6929 | 7079 | #include <tclInt.h> |
6930 | 7080 | EOF |
6931 | 7081 | 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; } | |
6933 | 7083 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6934 | 7084 | if test -z "$ac_err"; then |
6935 | 7085 | rm -rf conftest* |
@@ -6989,7 +7139,7 @@ fi | ||
6989 | 7139 | # |
6990 | 7140 | no_tk=true |
6991 | 7141 | 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 | |
6993 | 7143 | # Check whether --with-tkinclude or --without-tkinclude was given. |
6994 | 7144 | if test "${with_tkinclude+set}" = set; then |
6995 | 7145 | withval="$with_tkinclude" |
@@ -7055,17 +7205,17 @@ fi | ||
7055 | 7205 | if test x"${ac_cv_c_tkh}" = x ; then |
7056 | 7206 | ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'` |
7057 | 7207 | 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 | |
7059 | 7209 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7060 | 7210 | echo $ac_n "(cached) $ac_c" 1>&6 |
7061 | 7211 | else |
7062 | 7212 | cat > conftest.$ac_ext <<EOF |
7063 | -#line 7064 "configure" | |
7213 | +#line 7214 "configure" | |
7064 | 7214 | #include "confdefs.h" |
7065 | 7215 | #include <tk.h> |
7066 | 7216 | EOF |
7067 | 7217 | 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; } | |
7069 | 7219 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7070 | 7220 | if test -z "$ac_err"; then |
7071 | 7221 | rm -rf conftest* |
@@ -7111,7 +7261,7 @@ fi | ||
7111 | 7261 | |
7112 | 7262 | |
7113 | 7263 | 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 | |
7115 | 7265 | if test x"${ac_cv_c_itclh}" = x ; then |
7116 | 7266 | for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itcl; do |
7117 | 7267 | if test -f $i/generic/itcl.h ; then |
@@ -7134,7 +7284,7 @@ fi | ||
7134 | 7284 | |
7135 | 7285 | |
7136 | 7286 | 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 | |
7138 | 7288 | if test x"${ac_cv_c_itkh}" = x ; then |
7139 | 7289 | for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itk; do |
7140 | 7290 | if test -f $i/generic/itk.h ; then |
@@ -7157,7 +7307,7 @@ fi | ||
7157 | 7307 | |
7158 | 7308 | |
7159 | 7309 | 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 | |
7161 | 7311 | if test x"${ac_cv_c_tixh}" = x ; then |
7162 | 7312 | for i in ${srcdir}/../tix ${srcdir}/../../tix ${srcdir}/../../../tix ; do |
7163 | 7313 | if test -f $i/generic/tix.h ; then |
@@ -7195,7 +7345,7 @@ if test "${with_itclconfig+set}" = set; then | ||
7195 | 7345 | fi |
7196 | 7346 | |
7197 | 7347 | 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 | |
7199 | 7349 | if eval "test \"`echo '$''{'ac_cv_c_itclconfig'+set}'`\" = set"; then |
7200 | 7350 | echo $ac_n "(cached) $ac_c" 1>&6 |
7201 | 7351 | else |
@@ -7307,7 +7457,7 @@ if test "${with_itkconfig+set}" = set; then | ||
7307 | 7457 | fi |
7308 | 7458 | |
7309 | 7459 | 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 | |
7311 | 7461 | if eval "test \"`echo '$''{'ac_cv_c_itkconfig'+set}'`\" = set"; then |
7312 | 7462 | echo $ac_n "(cached) $ac_c" 1>&6 |
7313 | 7463 | else |
@@ -7419,7 +7569,7 @@ if test "${with_tixconfig+set}" = set; then | ||
7419 | 7569 | fi |
7420 | 7570 | |
7421 | 7571 | 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 | |
7423 | 7573 | if eval "test \"`echo '$''{'ac_cv_c_tixconfig'+set}'`\" = set"; then |
7424 | 7574 | echo $ac_n "(cached) $ac_c" 1>&6 |
7425 | 7575 | else |
@@ -7559,7 +7709,7 @@ fi | ||
7559 | 7709 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
7560 | 7710 | # --without-x overrides everything else, but does not touch the cache. |
7561 | 7711 | 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 | |
7563 | 7713 | |
7564 | 7714 | # Check whether --with-x or --without-x was given. |
7565 | 7715 | if test "${with_x+set}" = set; then |
@@ -7621,12 +7771,12 @@ if test "$ac_x_includes" = NO; then | ||
7621 | 7771 | |
7622 | 7772 | # First, try using that file with no special directory specified. |
7623 | 7773 | cat > conftest.$ac_ext <<EOF |
7624 | -#line 7625 "configure" | |
7774 | +#line 7775 "configure" | |
7625 | 7775 | #include "confdefs.h" |
7626 | 7776 | #include <$x_direct_test_include> |
7627 | 7777 | EOF |
7628 | 7778 | 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; } | |
7630 | 7780 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7631 | 7781 | if test -z "$ac_err"; then |
7632 | 7782 | rm -rf conftest* |
@@ -7695,14 +7845,14 @@ if test "$ac_x_libraries" = NO; then | ||
7695 | 7845 | ac_save_LIBS="$LIBS" |
7696 | 7846 | LIBS="-l$x_direct_test_library $LIBS" |
7697 | 7847 | cat > conftest.$ac_ext <<EOF |
7698 | -#line 7699 "configure" | |
7848 | +#line 7849 "configure" | |
7699 | 7849 | #include "confdefs.h" |
7700 | 7850 | |
7701 | 7851 | int main() { |
7702 | 7852 | ${x_direct_test_function}() |
7703 | 7853 | ; return 0; } |
7704 | 7854 | 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 | |
7706 | 7856 | rm -rf conftest* |
7707 | 7857 | LIBS="$ac_save_LIBS" |
7708 | 7858 | # We can link X programs with no special library path. |
@@ -8042,7 +8192,7 @@ fi | ||
8042 | 8192 | |
8043 | 8193 | |
8044 | 8194 | 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 | |
8046 | 8196 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
8047 | 8197 | echo $ac_n "(cached) $ac_c" 1>&6 |
8048 | 8198 | else |
@@ -8066,12 +8216,12 @@ fi | ||
8066 | 8216 | |
8067 | 8217 | |
8068 | 8218 | 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 | |
8070 | 8220 | if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
8071 | 8221 | echo $ac_n "(cached) $ac_c" 1>&6 |
8072 | 8222 | else |
8073 | 8223 | cat > conftest.$ac_ext <<EOF |
8074 | -#line 8075 "configure" | |
8224 | +#line 8225 "configure" | |
8075 | 8225 | #include "confdefs.h" |
8076 | 8226 | |
8077 | 8227 | int main() { |
@@ -8082,7 +8232,7 @@ int main() { | ||
8082 | 8232 | return __CYGWIN__; |
8083 | 8233 | ; return 0; } |
8084 | 8234 | 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 | |
8086 | 8236 | rm -rf conftest* |
8087 | 8237 | ac_cv_cygwin=yes |
8088 | 8238 | else |
@@ -8099,19 +8249,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6 | ||
8099 | 8249 | CYGWIN= |
8100 | 8250 | test "$ac_cv_cygwin" = yes && CYGWIN=yes |
8101 | 8251 | 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 | |
8103 | 8253 | if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
8104 | 8254 | echo $ac_n "(cached) $ac_c" 1>&6 |
8105 | 8255 | else |
8106 | 8256 | cat > conftest.$ac_ext <<EOF |
8107 | -#line 8108 "configure" | |
8257 | +#line 8258 "configure" | |
8108 | 8258 | #include "confdefs.h" |
8109 | 8259 | |
8110 | 8260 | int main() { |
8111 | 8261 | return __MINGW32__; |
8112 | 8262 | ; return 0; } |
8113 | 8263 | 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 | |
8115 | 8265 | rm -rf conftest* |
8116 | 8266 | ac_cv_mingw32=yes |
8117 | 8267 | else |
@@ -8130,7 +8280,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes | ||
8130 | 8280 | |
8131 | 8281 | |
8132 | 8282 | 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 | |
8134 | 8284 | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
8135 | 8285 | echo $ac_n "(cached) $ac_c" 1>&6 |
8136 | 8286 | else |
@@ -8140,7 +8290,7 @@ else | ||
8140 | 8290 | rm -f conftest* |
8141 | 8291 | echo 'int main () { return 0; }' > conftest.$ac_ext |
8142 | 8292 | 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 | |
8144 | 8294 | for file in conftest.*; do |
8145 | 8295 | case $file in |
8146 | 8296 | *.c | *.o | *.obj | *.ilk | *.pdb) ;; |
@@ -80,6 +80,7 @@ i[3456]86-*-sysv*) gdb_host=i386v ;; | ||
80 | 80 | i[3456]86-*-isc*) gdb_host=i386v32 ;; |
81 | 81 | i[3456]86-*-cygwin*) gdb_host=cygwin ;; |
82 | 82 | |
83 | +ia64-*-aix*) gdb_host=aix ;; | |
83 | 84 | ia64-*-linux*) gdb_host=linux ;; |
84 | 85 | |
85 | 86 | m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;; |
@@ -123,7 +123,7 @@ AC_CHECK_HEADERS(ctype.h endian.h link.h thread_db.h proc_service.h \ | ||
123 | 123 | string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \ |
124 | 124 | term.h termio.h termios.h unistd.h wait.h sys/wait.h \ |
125 | 125 | 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 \ | |
127 | 127 | dirent.h sys/ndir.h sys/dir.h ndir.h \ |
128 | 128 | curses.h ncurses.h \ |
129 | 129 | poll.h sys/poll.h) |
@@ -216,6 +216,9 @@ if test "${target}" = "${host}"; then | ||
216 | 216 | AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2) |
217 | 217 | AC_DEFINE(sys_quotactl) |
218 | 218 | ;; |
219 | + ia64-*-aix*) | |
220 | + AC_DEFINE(NEW_PROC_API) | |
221 | + ;; | |
219 | 222 | *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*) |
220 | 223 | AC_DEFINE(NEW_PROC_API) |
221 | 224 | ;; |
@@ -236,6 +239,10 @@ if test "$ac_cv_header_sys_procfs_h" = yes; then | ||
236 | 239 | BFD_HAVE_SYS_PROCFS_TYPE(prfpregset32_t) |
237 | 240 | BFD_HAVE_SYS_PROCFS_TYPE(lwpid_t) |
238 | 241 | 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) | |
239 | 246 | |
240 | 247 | dnl Check for struct link_map32 type, which allows a 64-bit Solaris |
241 | 248 | dnl debugger to debug a 32-bit Solaris app with 32-bit shared libraries. |
@@ -132,6 +132,7 @@ i960-*-elf*) gdb_target=mon960 ;; | ||
132 | 132 | i960-*-nindy*) gdb_target=nindy960 ;; |
133 | 133 | i960-*-vxworks*) gdb_target=vxworks960 ;; |
134 | 134 | |
135 | +ia64-*-aix*) gdb_target=aix ;; | |
135 | 136 | ia64-*-linux*) gdb_target=linux ;; |
136 | 137 | |
137 | 138 | m32r-*-elf*) gdb_target=m32r ;; |