• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

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

Revisiona0749de2effbae2b8e28f696ef7cdef50332e386 (tree)
Zeit1999-05-27 09:11:14
AutorJason Molenda <jmolenda@appl...>
CommiterJason Molenda

Log Message

1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>

Fix from Dave Holcomb.
        • hpux-thread.c (init_hpux_thread_ops): Use the right function
          name when initializing hpux_thread_ops.to_thread_alive.

1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)

        • configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
          on a Solaris host (of any architecture).
        • configure: Regenerated.

Ändern Zusammenfassung

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,15 @@
1+1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
2+
3+ Fix from Dave Holcomb.
4+ * hpux-thread.c (init_hpux_thread_ops): Use the right function
5+ name when initializing hpux_thread_ops.to_thread_alive.
6+
7+1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
8+
9+ * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
10+ on a Solaris host (of any architecture).
11+ * configure: Regenerated.
12+
113 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
214
315 * GDB 4.18 released.
--- a/gdb/configure
+++ b/gdb/configure
@@ -3890,6 +3890,7 @@ echo "$ac_t""$gdb_cv_hpux_sswide" 1>&6
38903890 # Also detect which type of /proc is in use, such as for Unixware.
38913891
38923892 if test "${target}" = "${host}"; then
3893+ gdb_cv_hostos_is_solaris=no
38933894 case "${host}" in
38943895 i[3456]86-*-linux*)
38953896 cat >> confdefs.h <<\EOF
@@ -3901,12 +3902,15 @@ EOF
39013902 EOF
39023903
39033904 ;;
3905+ *-*-solaris*)
3906+ gdb_cv_hostos_is_solaris=yes ;;
39043907 esac
39053908 echo $ac_n "checking for directory proc entries""... $ac_c" 1>&6
3906-echo "configure:3907: checking for directory proc entries" >&5
3909+echo "configure:3910: checking for directory proc entries" >&5
39073910 # The [gdb_host != sun4sol2] hack is because Solaris does provide the
39083911 # multiple procfs files as of Solaris 2.6, but GDB can't use it right now.
3909- if test "$ac_cv_header_sys_procfs_h" = yes -a "$gdb_host" != sun4sol2 \
3912+ if test "$ac_cv_header_sys_procfs_h" = yes -a \
3913+ "$gdb_cv_hostos_is_solaris" = no \
39103914 -a -d /proc/$$ \
39113915 -a -f /proc/$$/ctl \
39123916 -a -f /proc/$$/as \
@@ -3924,19 +3928,19 @@ fi
39243928
39253929 if test "$ac_cv_header_sys_procfs_h" = yes; then
39263930 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
3927-echo "configure:3928: checking for pstatus_t in sys/procfs.h" >&5
3931+echo "configure:3932: checking for pstatus_t in sys/procfs.h" >&5
39283932 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
39293933 echo $ac_n "(cached) $ac_c" 1>&6
39303934 else
39313935 cat > conftest.$ac_ext <<EOF
3932-#line 3933 "configure"
3936+#line 3937 "configure"
39333937 #include "confdefs.h"
39343938 #include <sys/procfs.h>
39353939 int main() {
39363940 pstatus_t avar
39373941 ; return 0; }
39383942 EOF
3939-if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3943+if { (eval echo configure:3944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
39403944 rm -rf conftest*
39413945 bfd_cv_have_sys_procfs_type_pstatus_t=yes
39423946 else
@@ -3958,19 +3962,19 @@ EOF
39583962 echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6
39593963
39603964 echo $ac_n "checking for prrun_t in sys/procfs.h""... $ac_c" 1>&6
3961-echo "configure:3962: checking for prrun_t in sys/procfs.h" >&5
3965+echo "configure:3966: checking for prrun_t in sys/procfs.h" >&5
39623966 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then
39633967 echo $ac_n "(cached) $ac_c" 1>&6
39643968 else
39653969 cat > conftest.$ac_ext <<EOF
3966-#line 3967 "configure"
3970+#line 3971 "configure"
39673971 #include "confdefs.h"
39683972 #include <sys/procfs.h>
39693973 int main() {
39703974 prrun_t avar
39713975 ; return 0; }
39723976 EOF
3973-if { (eval echo configure:3974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3977+if { (eval echo configure:3978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
39743978 rm -rf conftest*
39753979 bfd_cv_have_sys_procfs_type_prrun_t=yes
39763980 else
@@ -3992,19 +3996,19 @@ EOF
39923996 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6
39933997
39943998 echo $ac_n "checking for gregset_t in sys/procfs.h""... $ac_c" 1>&6
3995-echo "configure:3996: checking for gregset_t in sys/procfs.h" >&5
3999+echo "configure:4000: checking for gregset_t in sys/procfs.h" >&5
39964000 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then
39974001 echo $ac_n "(cached) $ac_c" 1>&6
39984002 else
39994003 cat > conftest.$ac_ext <<EOF
4000-#line 4001 "configure"
4004+#line 4005 "configure"
40014005 #include "confdefs.h"
40024006 #include <sys/procfs.h>
40034007 int main() {
40044008 gregset_t avar
40054009 ; return 0; }
40064010 EOF
4007-if { (eval echo configure:4008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4011+if { (eval echo configure:4012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
40084012 rm -rf conftest*
40094013 bfd_cv_have_sys_procfs_type_gregset_t=yes
40104014 else
@@ -4026,19 +4030,19 @@ EOF
40264030 echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6
40274031
40284032 echo $ac_n "checking for fpregset_t in sys/procfs.h""... $ac_c" 1>&6
4029-echo "configure:4030: checking for fpregset_t in sys/procfs.h" >&5
4033+echo "configure:4034: checking for fpregset_t in sys/procfs.h" >&5
40304034 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then
40314035 echo $ac_n "(cached) $ac_c" 1>&6
40324036 else
40334037 cat > conftest.$ac_ext <<EOF
4034-#line 4035 "configure"
4038+#line 4039 "configure"
40354039 #include "confdefs.h"
40364040 #include <sys/procfs.h>
40374041 int main() {
40384042 fpregset_t avar
40394043 ; return 0; }
40404044 EOF
4041-if { (eval echo configure:4042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4045+if { (eval echo configure:4046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
40424046 rm -rf conftest*
40434047 bfd_cv_have_sys_procfs_type_fpregset_t=yes
40444048 else
@@ -4062,12 +4066,12 @@ EOF
40624066
40634067
40644068 echo $ac_n "checking for PIOCSET ioctl entry in sys/procfs.h""... $ac_c" 1>&6
4065-echo "configure:4066: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
4069+echo "configure:4070: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
40664070 if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then
40674071 echo $ac_n "(cached) $ac_c" 1>&6
40684072 else
40694073 cat > conftest.$ac_ext <<EOF
4070-#line 4071 "configure"
4074+#line 4075 "configure"
40714075 #include "confdefs.h"
40724076 #include <unistd.h>
40734077 #include <sys/types.h>
@@ -4080,7 +4084,7 @@ int main() {
40804084
40814085 ; return 0; }
40824086 EOF
4083-if { (eval echo configure:4084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4087+if { (eval echo configure:4088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
40844088 rm -rf conftest*
40854089 gdb_cv_have_procfs_piocset=yes
40864090 else
@@ -4102,7 +4106,7 @@ EOF
41024106 fi
41034107
41044108 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4105-echo "configure:4106: checking for main in -lm" >&5
4109+echo "configure:4110: checking for main in -lm" >&5
41064110 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
41074111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
41084112 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4110,14 +4114,14 @@ else
41104114 ac_save_LIBS="$LIBS"
41114115 LIBS="-lm $LIBS"
41124116 cat > conftest.$ac_ext <<EOF
4113-#line 4114 "configure"
4117+#line 4118 "configure"
41144118 #include "confdefs.h"
41154119
41164120 int main() {
41174121 main()
41184122 ; return 0; }
41194123 EOF
4120-if { (eval echo configure:4121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4124+if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
41214125 rm -rf conftest*
41224126 eval "ac_cv_lib_$ac_lib_var=yes"
41234127 else
@@ -4146,7 +4150,7 @@ fi
41464150
41474151
41484152 echo $ac_n "checking for wctype in -lc""... $ac_c" 1>&6
4149-echo "configure:4150: checking for wctype in -lc" >&5
4153+echo "configure:4154: checking for wctype in -lc" >&5
41504154 ac_lib_var=`echo c'_'wctype | sed 'y%./+-%__p_%'`
41514155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
41524156 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4154,7 +4158,7 @@ else
41544158 ac_save_LIBS="$LIBS"
41554159 LIBS="-lc $LIBS"
41564160 cat > conftest.$ac_ext <<EOF
4157-#line 4158 "configure"
4161+#line 4162 "configure"
41584162 #include "confdefs.h"
41594163 /* Override any gcc2 internal prototype to avoid an error. */
41604164 /* We use char because int might match the return type of a gcc2
@@ -4165,7 +4169,7 @@ int main() {
41654169 wctype()
41664170 ; return 0; }
41674171 EOF
4168-if { (eval echo configure:4169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4172+if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
41694173 rm -rf conftest*
41704174 eval "ac_cv_lib_$ac_lib_var=yes"
41714175 else
@@ -4184,7 +4188,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
41844188 else
41854189 echo "$ac_t""no" 1>&6
41864190 echo $ac_n "checking for wctype in -lw""... $ac_c" 1>&6
4187-echo "configure:4188: checking for wctype in -lw" >&5
4191+echo "configure:4192: checking for wctype in -lw" >&5
41884192 ac_lib_var=`echo w'_'wctype | sed 'y%./+-%__p_%'`
41894193 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
41904194 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4192,7 +4196,7 @@ else
41924196 ac_save_LIBS="$LIBS"
41934197 LIBS="-lw $LIBS"
41944198 cat > conftest.$ac_ext <<EOF
4195-#line 4196 "configure"
4199+#line 4200 "configure"
41964200 #include "confdefs.h"
41974201 /* Override any gcc2 internal prototype to avoid an error. */
41984202 /* We use char because int might match the return type of a gcc2
@@ -4203,7 +4207,7 @@ int main() {
42034207 wctype()
42044208 ; return 0; }
42054209 EOF
4206-if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4210+if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
42074211 rm -rf conftest*
42084212 eval "ac_cv_lib_$ac_lib_var=yes"
42094213 else
@@ -4235,12 +4239,12 @@ fi
42354239
42364240
42374241 echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6
4238-echo "configure:4239: checking for long long support in compiler" >&5
4242+echo "configure:4243: checking for long long support in compiler" >&5
42394243 if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then
42404244 echo $ac_n "(cached) $ac_c" 1>&6
42414245 else
42424246 cat > conftest.$ac_ext <<EOF
4243-#line 4244 "configure"
4247+#line 4248 "configure"
42444248 #include "confdefs.h"
42454249
42464250 int main() {
@@ -4250,7 +4254,7 @@ int main() {
42504254
42514255 ; return 0; }
42524256 EOF
4253-if { (eval echo configure:4254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4257+if { (eval echo configure:4258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
42544258 rm -rf conftest*
42554259 gdb_cv_c_long_long=yes
42564260 else
@@ -4272,7 +4276,7 @@ fi
42724276
42734277
42744278 echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6
4275-echo "configure:4276: checking for long long support in printf" >&5
4279+echo "configure:4280: checking for long long support in printf" >&5
42764280 if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then
42774281 echo $ac_n "(cached) $ac_c" 1>&6
42784282 else
@@ -4280,7 +4284,7 @@ else
42804284 gdb_cv_printf_has_long_long=no
42814285 else
42824286 cat > conftest.$ac_ext <<EOF
4283-#line 4284 "configure"
4287+#line 4288 "configure"
42844288 #include "confdefs.h"
42854289
42864290 int main () {
@@ -4294,7 +4298,7 @@ int main () {
42944298 return (strcmp ("0x0123456789abcdef", buf));
42954299 }
42964300 EOF
4297-if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4301+if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
42984302 then
42994303 gdb_cv_printf_has_long_long=yes
43004304 else
@@ -4318,19 +4322,19 @@ echo "$ac_t""$gdb_cv_printf_has_long_long" 1>&6
43184322
43194323
43204324 echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6
4321-echo "configure:4322: checking for long double support in compiler" >&5
4325+echo "configure:4326: checking for long double support in compiler" >&5
43224326 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
43234327 echo $ac_n "(cached) $ac_c" 1>&6
43244328 else
43254329 cat > conftest.$ac_ext <<EOF
4326-#line 4327 "configure"
4330+#line 4331 "configure"
43274331 #include "confdefs.h"
43284332
43294333 int main() {
43304334 long double foo;
43314335 ; return 0; }
43324336 EOF
4333-if { (eval echo configure:4334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4337+if { (eval echo configure:4338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
43344338 rm -rf conftest*
43354339 ac_cv_c_long_double=yes
43364340 else
@@ -4352,7 +4356,7 @@ fi
43524356
43534357
43544358 echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6
4355-echo "configure:4356: checking for long double support in printf" >&5
4359+echo "configure:4360: checking for long double support in printf" >&5
43564360 if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then
43574361 echo $ac_n "(cached) $ac_c" 1>&6
43584362 else
@@ -4360,7 +4364,7 @@ else
43604364 gdb_cv_printf_has_long_double=no
43614365 else
43624366 cat > conftest.$ac_ext <<EOF
4363-#line 4364 "configure"
4367+#line 4368 "configure"
43644368 #include "confdefs.h"
43654369
43664370 int main () {
@@ -4370,7 +4374,7 @@ int main () {
43704374 return (strncmp ("3.14159", buf, 7));
43714375 }
43724376 EOF
4373-if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4377+if { (eval echo configure:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
43744378 then
43754379 gdb_cv_printf_has_long_double=yes
43764380 else
@@ -4394,7 +4398,7 @@ echo "$ac_t""$gdb_cv_printf_has_long_double" 1>&6
43944398
43954399
43964400 echo $ac_n "checking for long double support in scanf""... $ac_c" 1>&6
4397-echo "configure:4398: checking for long double support in scanf" >&5
4401+echo "configure:4402: checking for long double support in scanf" >&5
43984402 if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then
43994403 echo $ac_n "(cached) $ac_c" 1>&6
44004404 else
@@ -4402,7 +4406,7 @@ else
44024406 gdb_cv_scanf_has_long_double=no
44034407 else
44044408 cat > conftest.$ac_ext <<EOF
4405-#line 4406 "configure"
4409+#line 4410 "configure"
44064410 #include "confdefs.h"
44074411
44084412 int main () {
@@ -4412,7 +4416,7 @@ int main () {
44124416 return !(f > 3.14159 && f < 3.14160);
44134417 }
44144418 EOF
4415-if { (eval echo configure:4416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4419+if { (eval echo configure:4420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
44164420 then
44174421 gdb_cv_scanf_has_long_double=yes
44184422 else
@@ -4438,17 +4442,17 @@ for ac_hdr in unistd.h
44384442 do
44394443 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
44404444 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4441-echo "configure:4442: checking for $ac_hdr" >&5
4445+echo "configure:4446: checking for $ac_hdr" >&5
44424446 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
44434447 echo $ac_n "(cached) $ac_c" 1>&6
44444448 else
44454449 cat > conftest.$ac_ext <<EOF
4446-#line 4447 "configure"
4450+#line 4451 "configure"
44474451 #include "confdefs.h"
44484452 #include <$ac_hdr>
44494453 EOF
44504454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4451-{ (eval echo configure:4452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4455+{ (eval echo configure:4456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
44524456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
44534457 if test -z "$ac_err"; then
44544458 rm -rf conftest*
@@ -4477,12 +4481,12 @@ done
44774481 for ac_func in getpagesize
44784482 do
44794483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4480-echo "configure:4481: checking for $ac_func" >&5
4484+echo "configure:4485: checking for $ac_func" >&5
44814485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
44824486 echo $ac_n "(cached) $ac_c" 1>&6
44834487 else
44844488 cat > conftest.$ac_ext <<EOF
4485-#line 4486 "configure"
4489+#line 4490 "configure"
44864490 #include "confdefs.h"
44874491 /* System header to define __stub macros and hopefully few prototypes,
44884492 which can conflict with char $ac_func(); below. */
@@ -4505,7 +4509,7 @@ $ac_func();
45054509
45064510 ; return 0; }
45074511 EOF
4508-if { (eval echo configure:4509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4512+if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
45094513 rm -rf conftest*
45104514 eval "ac_cv_func_$ac_func=yes"
45114515 else
@@ -4530,7 +4534,7 @@ fi
45304534 done
45314535
45324536 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
4533-echo "configure:4534: checking for working mmap" >&5
4537+echo "configure:4538: checking for working mmap" >&5
45344538 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
45354539 echo $ac_n "(cached) $ac_c" 1>&6
45364540 else
@@ -4538,7 +4542,7 @@ else
45384542 ac_cv_func_mmap_fixed_mapped=no
45394543 else
45404544 cat > conftest.$ac_ext <<EOF
4541-#line 4542 "configure"
4545+#line 4546 "configure"
45424546 #include "confdefs.h"
45434547
45444548 /* Thanks to Mike Haertel and Jim Avera for this test.
@@ -4678,7 +4682,7 @@ main()
46784682 }
46794683
46804684 EOF
4681-if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4685+if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
46824686 then
46834687 ac_cv_func_mmap_fixed_mapped=yes
46844688 else
@@ -4707,7 +4711,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
47074711 case ${host_os} in
47084712 hpux*)
47094713 echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6
4710-echo "configure:4711: checking for HPUX/OSF thread support" >&5
4714+echo "configure:4715: checking for HPUX/OSF thread support" >&5
47114715 if test -f /usr/include/dce/cma_config.h ; then
47124716 if test "$GCC" = "yes" ; then
47134717 echo "$ac_t""yes" 1>&6
@@ -4726,7 +4730,7 @@ EOF
47264730 ;;
47274731 solaris*)
47284732 echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6
4729-echo "configure:4730: checking for Solaris thread debugging library" >&5
4733+echo "configure:4734: checking for Solaris thread debugging library" >&5
47304734 if test -f /usr/lib/libthread_db.so.1 ; then
47314735 echo "$ac_t""yes" 1>&6
47324736 cat >> confdefs.h <<\EOF
@@ -4736,7 +4740,7 @@ EOF
47364740 CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
47374741 CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
47384742 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4739-echo "configure:4740: checking for dlopen in -ldl" >&5
4743+echo "configure:4744: checking for dlopen in -ldl" >&5
47404744 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
47414745 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
47424746 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4744,7 +4748,7 @@ else
47444748 ac_save_LIBS="$LIBS"
47454749 LIBS="-ldl $LIBS"
47464750 cat > conftest.$ac_ext <<EOF
4747-#line 4748 "configure"
4751+#line 4752 "configure"
47484752 #include "confdefs.h"
47494753 /* Override any gcc2 internal prototype to avoid an error. */
47504754 /* We use char because int might match the return type of a gcc2
@@ -4755,7 +4759,7 @@ int main() {
47554759 dlopen()
47564760 ; return 0; }
47574761 EOF
4758-if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4762+if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
47594763 rm -rf conftest*
47604764 eval "ac_cv_lib_$ac_lib_var=yes"
47614765 else
@@ -4787,17 +4791,17 @@ fi
47874791 # all symbols visible in the dynamic symbol table.
47884792 hold_ldflags=$LDFLAGS
47894793 echo $ac_n "checking for the ld -export-dynamic flag""... $ac_c" 1>&6
4790-echo "configure:4791: checking for the ld -export-dynamic flag" >&5
4794+echo "configure:4795: checking for the ld -export-dynamic flag" >&5
47914795 LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
47924796 cat > conftest.$ac_ext <<EOF
4793-#line 4794 "configure"
4797+#line 4798 "configure"
47944798 #include "confdefs.h"
47954799
47964800 int main() {
47974801 int i;
47984802 ; return 0; }
47994803 EOF
4800-if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4804+if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
48014805 rm -rf conftest*
48024806 found=yes
48034807 else
@@ -4816,13 +4820,13 @@ rm -f conftest*
48164820 # Sun randomly tweaked the prototypes in <proc_service.h>
48174821 # at one point.
48184822 echo $ac_n "checking if <proc_service.h> is old""... $ac_c" 1>&6
4819-echo "configure:4820: checking if <proc_service.h> is old" >&5
4823+echo "configure:4824: checking if <proc_service.h> is old" >&5
48204824 if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then
48214825 echo $ac_n "(cached) $ac_c" 1>&6
48224826 else
48234827
48244828 cat > conftest.$ac_ext <<EOF
4825-#line 4826 "configure"
4829+#line 4830 "configure"
48264830 #include "confdefs.h"
48274831
48284832 #include <proc_service.h>
@@ -4833,7 +4837,7 @@ int main() {
48334837
48344838 ; return 0; }
48354839 EOF
4836-if { (eval echo configure:4837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4840+if { (eval echo configure:4841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
48374841 rm -rf conftest*
48384842 gdb_cv_proc_service_is_old=no
48394843 else
@@ -4970,7 +4974,7 @@ if test x$gdb_cv_os_cygwin = xyes; then
49704974 else
49714975 TERM_LIB=
49724976 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
4973-echo "configure:4974: checking for tgetent in -lncurses" >&5
4977+echo "configure:4978: checking for tgetent in -lncurses" >&5
49744978 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
49754979 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
49764980 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4978,7 +4982,7 @@ else
49784982 ac_save_LIBS="$LIBS"
49794983 LIBS="-lncurses $LIBS"
49804984 cat > conftest.$ac_ext <<EOF
4981-#line 4982 "configure"
4985+#line 4986 "configure"
49824986 #include "confdefs.h"
49834987 /* Override any gcc2 internal prototype to avoid an error. */
49844988 /* We use char because int might match the return type of a gcc2
@@ -4989,7 +4993,7 @@ int main() {
49894993 tgetent()
49904994 ; return 0; }
49914995 EOF
4992-if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4996+if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
49934997 rm -rf conftest*
49944998 eval "ac_cv_lib_$ac_lib_var=yes"
49954999 else
@@ -5008,7 +5012,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
50085012 else
50095013 echo "$ac_t""no" 1>&6
50105014 echo $ac_n "checking for tgetent in -lHcurses""... $ac_c" 1>&6
5011-echo "configure:5012: checking for tgetent in -lHcurses" >&5
5015+echo "configure:5016: checking for tgetent in -lHcurses" >&5
50125016 ac_lib_var=`echo Hcurses'_'tgetent | sed 'y%./+-%__p_%'`
50135017 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
50145018 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5016,7 +5020,7 @@ else
50165020 ac_save_LIBS="$LIBS"
50175021 LIBS="-lHcurses $LIBS"
50185022 cat > conftest.$ac_ext <<EOF
5019-#line 5020 "configure"
5023+#line 5024 "configure"
50205024 #include "confdefs.h"
50215025 /* Override any gcc2 internal prototype to avoid an error. */
50225026 /* We use char because int might match the return type of a gcc2
@@ -5027,7 +5031,7 @@ int main() {
50275031 tgetent()
50285032 ; return 0; }
50295033 EOF
5030-if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5034+if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
50315035 rm -rf conftest*
50325036 eval "ac_cv_lib_$ac_lib_var=yes"
50335037 else
@@ -5046,7 +5050,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
50465050 else
50475051 echo "$ac_t""no" 1>&6
50485052 echo $ac_n "checking for tgetent in -ltermlib""... $ac_c" 1>&6
5049-echo "configure:5050: checking for tgetent in -ltermlib" >&5
5053+echo "configure:5054: checking for tgetent in -ltermlib" >&5
50505054 ac_lib_var=`echo termlib'_'tgetent | sed 'y%./+-%__p_%'`
50515055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
50525056 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5054,7 +5058,7 @@ else
50545058 ac_save_LIBS="$LIBS"
50555059 LIBS="-ltermlib $LIBS"
50565060 cat > conftest.$ac_ext <<EOF
5057-#line 5058 "configure"
5061+#line 5062 "configure"
50585062 #include "confdefs.h"
50595063 /* Override any gcc2 internal prototype to avoid an error. */
50605064 /* We use char because int might match the return type of a gcc2
@@ -5065,7 +5069,7 @@ int main() {
50655069 tgetent()
50665070 ; return 0; }
50675071 EOF
5068-if { (eval echo configure:5069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5072+if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
50695073 rm -rf conftest*
50705074 eval "ac_cv_lib_$ac_lib_var=yes"
50715075 else
@@ -5084,7 +5088,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
50845088 else
50855089 echo "$ac_t""no" 1>&6
50865090 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
5087-echo "configure:5088: checking for tgetent in -ltermcap" >&5
5091+echo "configure:5092: checking for tgetent in -ltermcap" >&5
50885092 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
50895093 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
50905094 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5092,7 +5096,7 @@ else
50925096 ac_save_LIBS="$LIBS"
50935097 LIBS="-ltermcap $LIBS"
50945098 cat > conftest.$ac_ext <<EOF
5095-#line 5096 "configure"
5099+#line 5100 "configure"
50965100 #include "confdefs.h"
50975101 /* Override any gcc2 internal prototype to avoid an error. */
50985102 /* We use char because int might match the return type of a gcc2
@@ -5103,7 +5107,7 @@ int main() {
51035107 tgetent()
51045108 ; return 0; }
51055109 EOF
5106-if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5110+if { (eval echo configure:5111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
51075111 rm -rf conftest*
51085112 eval "ac_cv_lib_$ac_lib_var=yes"
51095113 else
@@ -5122,7 +5126,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
51225126 else
51235127 echo "$ac_t""no" 1>&6
51245128 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
5125-echo "configure:5126: checking for tgetent in -lcurses" >&5
5129+echo "configure:5130: checking for tgetent in -lcurses" >&5
51265130 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
51275131 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
51285132 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5130,7 +5134,7 @@ else
51305134 ac_save_LIBS="$LIBS"
51315135 LIBS="-lcurses $LIBS"
51325136 cat > conftest.$ac_ext <<EOF
5133-#line 5134 "configure"
5137+#line 5138 "configure"
51345138 #include "confdefs.h"
51355139 /* Override any gcc2 internal prototype to avoid an error. */
51365140 /* We use char because int might match the return type of a gcc2
@@ -5141,7 +5145,7 @@ int main() {
51415145 tgetent()
51425146 ; return 0; }
51435147 EOF
5144-if { (eval echo configure:5145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5148+if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
51455149 rm -rf conftest*
51465150 eval "ac_cv_lib_$ac_lib_var=yes"
51475151 else
@@ -5160,7 +5164,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
51605164 else
51615165 echo "$ac_t""no" 1>&6
51625166 echo $ac_n "checking for tgetent in -lterminfo""... $ac_c" 1>&6
5163-echo "configure:5164: checking for tgetent in -lterminfo" >&5
5167+echo "configure:5168: checking for tgetent in -lterminfo" >&5
51645168 ac_lib_var=`echo terminfo'_'tgetent | sed 'y%./+-%__p_%'`
51655169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
51665170 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5168,7 +5172,7 @@ else
51685172 ac_save_LIBS="$LIBS"
51695173 LIBS="-lterminfo $LIBS"
51705174 cat > conftest.$ac_ext <<EOF
5171-#line 5172 "configure"
5175+#line 5176 "configure"
51725176 #include "confdefs.h"
51735177 /* Override any gcc2 internal prototype to avoid an error. */
51745178 /* We use char because int might match the return type of a gcc2
@@ -5179,7 +5183,7 @@ int main() {
51795183 tgetent()
51805184 ; return 0; }
51815185 EOF
5182-if { (eval echo configure:5183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5186+if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
51835187 rm -rf conftest*
51845188 eval "ac_cv_lib_$ac_lib_var=yes"
51855189 else
@@ -5223,7 +5227,7 @@ fi
52235227 # Uses ac_ vars as temps to allow command line to override cache and checks.
52245228 # --without-x overrides everything else, but does not touch the cache.
52255229 echo $ac_n "checking for X""... $ac_c" 1>&6
5226-echo "configure:5227: checking for X" >&5
5230+echo "configure:5231: checking for X" >&5
52275231
52285232 # Check whether --with-x or --without-x was given.
52295233 if test "${with_x+set}" = set; then
@@ -5285,12 +5289,12 @@ if test "$ac_x_includes" = NO; then
52855289
52865290 # First, try using that file with no special directory specified.
52875291 cat > conftest.$ac_ext <<EOF
5288-#line 5289 "configure"
5292+#line 5293 "configure"
52895293 #include "confdefs.h"
52905294 #include <$x_direct_test_include>
52915295 EOF
52925296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5293-{ (eval echo configure:5294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5297+{ (eval echo configure:5298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
52945298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
52955299 if test -z "$ac_err"; then
52965300 rm -rf conftest*
@@ -5359,14 +5363,14 @@ if test "$ac_x_libraries" = NO; then
53595363 ac_save_LIBS="$LIBS"
53605364 LIBS="-l$x_direct_test_library $LIBS"
53615365 cat > conftest.$ac_ext <<EOF
5362-#line 5363 "configure"
5366+#line 5367 "configure"
53635367 #include "confdefs.h"
53645368
53655369 int main() {
53665370 ${x_direct_test_function}()
53675371 ; return 0; }
53685372 EOF
5369-if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5373+if { (eval echo configure:5374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
53705374 rm -rf conftest*
53715375 LIBS="$ac_save_LIBS"
53725376 # We can link X programs with no special library path.
@@ -5598,12 +5602,12 @@ fi
55985602
55995603
56005604 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
5601-echo "configure:5602: checking for Cygwin environment" >&5
5605+echo "configure:5606: checking for Cygwin environment" >&5
56025606 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
56035607 echo $ac_n "(cached) $ac_c" 1>&6
56045608 else
56055609 cat > conftest.$ac_ext <<EOF
5606-#line 5607 "configure"
5610+#line 5611 "configure"
56075611 #include "confdefs.h"
56085612
56095613 int main() {
@@ -5614,7 +5618,7 @@ int main() {
56145618 return __CYGWIN__;
56155619 ; return 0; }
56165620 EOF
5617-if { (eval echo configure:5618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5621+if { (eval echo configure:5622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
56185622 rm -rf conftest*
56195623 ac_cv_cygwin=yes
56205624 else
@@ -5631,19 +5635,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
56315635 CYGWIN=
56325636 test "$ac_cv_cygwin" = yes && CYGWIN=yes
56335637 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
5634-echo "configure:5635: checking for mingw32 environment" >&5
5638+echo "configure:5639: checking for mingw32 environment" >&5
56355639 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
56365640 echo $ac_n "(cached) $ac_c" 1>&6
56375641 else
56385642 cat > conftest.$ac_ext <<EOF
5639-#line 5640 "configure"
5643+#line 5644 "configure"
56405644 #include "confdefs.h"
56415645
56425646 int main() {
56435647 return __MINGW32__;
56445648 ; return 0; }
56455649 EOF
5646-if { (eval echo configure:5647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5650+if { (eval echo configure:5651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
56475651 rm -rf conftest*
56485652 ac_cv_mingw32=yes
56495653 else
@@ -5662,7 +5666,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes
56625666
56635667
56645668 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
5665-echo "configure:5666: checking for executable suffix" >&5
5669+echo "configure:5670: checking for executable suffix" >&5
56665670 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
56675671 echo $ac_n "(cached) $ac_c" 1>&6
56685672 else
@@ -5672,7 +5676,7 @@ else
56725676 rm -f conftest*
56735677 echo 'int main () { return 0; }' > conftest.$ac_ext
56745678 ac_cv_exeext=
5675- if { (eval echo configure:5676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
5679+ if { (eval echo configure:5680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
56765680 for file in conftest.*; do
56775681 case $file in
56785682 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -109,16 +109,20 @@ AC_MSG_RESULT($gdb_cv_hpux_sswide)
109109 # Also detect which type of /proc is in use, such as for Unixware.
110110
111111 if test "${target}" = "${host}"; then
112+ gdb_cv_hostos_is_solaris=no
112113 case "${host}" in
113114 i[[3456]]86-*-linux*)
114115 AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2)
115116 AC_DEFINE(sys_quotactl)
116117 ;;
118+ *-*-solaris*)
119+ gdb_cv_hostos_is_solaris=yes ;;
117120 esac
118121 AC_MSG_CHECKING(for directory proc entries)
119122 # The [gdb_host != sun4sol2] hack is because Solaris does provide the
120123 # multiple procfs files as of Solaris 2.6, but GDB can't use it right now.
121- if test "$ac_cv_header_sys_procfs_h" = yes -a "$gdb_host" != sun4sol2 \
124+ if test "$ac_cv_header_sys_procfs_h" = yes -a \
125+ "$gdb_cv_hostos_is_solaris" = no \
122126 -a -d /proc/$$ \
123127 -a -f /proc/$$/ctl \
124128 -a -f /proc/$$/as \
--- a/gdb/hpux-thread.c
+++ b/gdb/hpux-thread.c
@@ -620,7 +620,7 @@ init_hpux_thread_ops ()
620620 hpux_thread_ops.to_mourn_inferior = hpux_thread_mourn_inferior;
621621 hpux_thread_ops.to_can_run = hpux_thread_can_run;
622622 hpux_thread_ops.to_notice_signals = hpux_thread_notice_signals;
623- hpux_thread_ops.to_thread_alive = hpux_thread_thread_alive;
623+ hpux_thread_ops.to_thread_alive = hpux_thread_alive;
624624 hpux_thread_ops.to_stop = hpux_thread_stop;
625625 hpux_thread_ops.to_stratum = process_stratum;
626626 hpux_thread_ops.to_has_all_memory = 1;