This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: symtab/1317: BYTE_BITFIELD never defined, wastes 4 bytes
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 5 Aug 2003 06:18:00 -0000
- Subject: Re: symtab/1317: BYTE_BITFIELD never defined, wastes 4 bytes
- Reply-to: Michael Elizabeth Chastain <mec at shout dot net>
The following reply was made to PR symtab/1317; it has been noted by GNATS.
From: Michael Elizabeth Chastain <mec@shout.net>
To: ac131313@redhat.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: symtab/1317: BYTE_BITFIELD never defined, wastes 4 bytes
Date: Tue, 5 Aug 2003 02:09:03 -0400
This patch adds an autoconf test for HAVE_ENUM_BITFIELD and then uses it
in symtab.h. This saves some space:
# native i686-pc-linux-gnu
struct general_symbol_info 24 -> 20
struct minimal_symbol 44 -> 40
struct symbol 60 -> 48
struct partial_symbol 32 -> 24
Not regression tested. Just blitzed out dan-berlin style, for later
consideration. I did build the debugger and do "break main; run" and
some ptype's.
After gdb 6.0, if people think it's interesting, then I am willing to
regression test this. Also Zack Weinberg has visited this issue
in gcc land.
2003-08-04 Michael Chastain <mec@shout.net>
* configure.in: Add HAVE_ENUM_BITFIELD.
* configuure, config.in: Regenerated.
* symtab.h: Use it.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.129
diff -c -3 -p -r1.129 configure.in
*** configure.in 22 Jul 2003 18:18:09 -0000 1.129
--- configure.in 5 Aug 2003 05:52:37 -0000
*************** if test $gdb_cv_have_uintptr_t = yes; th
*** 531,536 ****
--- 531,548 ----
AC_DEFINE(HAVE_UINTPTR_T, 1, [Define if <stdint.h> provides the uintptr_t type.])
fi
+ # See if enum bitfields are supported.
+ AC_CACHE_CHECK([for enum bitfield support], gdb_cv_have_enum_bitfield,
+ [AC_TRY_COMPILE(
+ [struct { enum { one, two, three } : 8 } s1;],
+ [],
+ gdb_cv_have_enum_bitfield=yes,
+ gdb_cv_have_enum_bitfield=no)])
+ AC_MSG_RESULT($gdb_cv_have_enum_bitfield)
+ if test $gdb_cv_have_enum_bitfield = yes; then
+ AC_DEFINE(HAVE_ENUM_BITFIELD, 1, [Define if a struct may contain an enum bitfield.])
+ fi
+
BFD_NEED_DECLARATION(malloc)
BFD_NEED_DECLARATION(realloc)
BFD_NEED_DECLARATION(free)
Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.131
diff -c -3 -p -r1.131 configure
*** configure 22 Jul 2003 18:18:09 -0000 1.131
--- configure 5 Aug 2003 05:52:45 -0000
*************** EOF
*** 7141,7153 ****
fi
echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
! echo "configure:7146: checking whether malloc must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7151 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 7141,7188 ----
fi
+ # See if enum bitfields are supported.
+ echo $ac_n "checking for enum bitfield support""... $ac_c" 1>&6
+ echo "configure:7147: checking for enum bitfield support" >&5
+ if eval "test \"`echo '$''{'gdb_cv_have_enum_bitfield'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ cat > conftest.$ac_ext <<EOF
+ #line 7152 "configure"
+ #include "confdefs.h"
+ struct { enum { one, two, three } : 8 } s1;
+ int main() {
+
+ ; return 0; }
+ EOF
+ if { (eval echo configure:7159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ gdb_cv_have_enum_bitfield=yes
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ gdb_cv_have_enum_bitfield=no
+ fi
+ rm -f conftest*
+ fi
+
+ echo "$ac_t""$gdb_cv_have_enum_bitfield" 1>&6
+ echo "$ac_t""$gdb_cv_have_enum_bitfield" 1>&6
+ if test $gdb_cv_have_enum_bitfield = yes; then
+ cat >> confdefs.h <<\EOF
+ #define HAVE_ENUM_BITFIELD 1
+ EOF
+
+ fi
+
echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
! echo "configure:7181: checking whether malloc must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7186 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main() {
*** 7168,7174 ****
char *(*pfn) = (char *(*)) malloc
; return 0; }
EOF
! if { (eval echo configure:7172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_malloc=no
else
--- 7203,7209 ----
char *(*pfn) = (char *(*)) malloc
; return 0; }
EOF
! if { (eval echo configure:7207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_malloc=no
else
*************** EOF
*** 7189,7200 ****
fi
echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
! echo "configure:7193: checking whether realloc must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7198 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 7224,7235 ----
fi
echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
! echo "configure:7228: checking whether realloc must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7233 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main() {
*** 7215,7221 ****
char *(*pfn) = (char *(*)) realloc
; return 0; }
EOF
! if { (eval echo configure:7219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_realloc=no
else
--- 7250,7256 ----
char *(*pfn) = (char *(*)) realloc
; return 0; }
EOF
! if { (eval echo configure:7254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_realloc=no
else
*************** EOF
*** 7236,7247 ****
fi
echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
! echo "configure:7240: checking whether free must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7245 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 7271,7282 ----
fi
echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
! echo "configure:7275: checking whether free must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7280 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main() {
*** 7262,7268 ****
char *(*pfn) = (char *(*)) free
; return 0; }
EOF
! if { (eval echo configure:7266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_free=no
else
--- 7297,7303 ----
char *(*pfn) = (char *(*)) free
; return 0; }
EOF
! if { (eval echo configure:7301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_free=no
else
*************** EOF
*** 7283,7294 ****
fi
echo $ac_n "checking whether strerror must be declared""... $ac_c" 1>&6
! echo "configure:7287: checking whether strerror must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strerror'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7292 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 7318,7329 ----
fi
echo $ac_n "checking whether strerror must be declared""... $ac_c" 1>&6
! echo "configure:7322: checking whether strerror must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strerror'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7327 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main() {
*** 7309,7315 ****
char *(*pfn) = (char *(*)) strerror
; return 0; }
EOF
! if { (eval echo configure:7313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_strerror=no
else
--- 7344,7350 ----
char *(*pfn) = (char *(*)) strerror
; return 0; }
EOF
! if { (eval echo configure:7348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_strerror=no
else
*************** EOF
*** 7330,7341 ****
fi
echo $ac_n "checking whether strdup must be declared""... $ac_c" 1>&6
! echo "configure:7334: checking whether strdup must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strdup'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7339 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 7365,7376 ----
fi
echo $ac_n "checking whether strdup must be declared""... $ac_c" 1>&6
! echo "configure:7369: checking whether strdup must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strdup'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7374 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main() {
*** 7356,7362 ****
char *(*pfn) = (char *(*)) strdup
; return 0; }
EOF
! if { (eval echo configure:7360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_strdup=no
else
--- 7391,7397 ----
char *(*pfn) = (char *(*)) strdup
; return 0; }
EOF
! if { (eval echo configure:7395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_strdup=no
else
*************** EOF
*** 7377,7388 ****
fi
echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
! echo "configure:7381: checking whether strstr must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7386 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 7412,7423 ----
fi
echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
! echo "configure:7416: checking whether strstr must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7421 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main() {
*** 7403,7409 ****
char *(*pfn) = (char *(*)) strstr
; return 0; }
EOF
! if { (eval echo configure:7407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_strstr=no
else
--- 7438,7444 ----
char *(*pfn) = (char *(*)) strstr
; return 0; }
EOF
! if { (eval echo configure:7442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_strstr=no
else
*************** EOF
*** 7424,7435 ****
fi
echo $ac_n "checking whether canonicalize_file_name must be declared""... $ac_c" 1>&6
! echo "configure:7428: checking whether canonicalize_file_name must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_canonicalize_file_name'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7433 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 7459,7470 ----
fi
echo $ac_n "checking whether canonicalize_file_name must be declared""... $ac_c" 1>&6
! echo "configure:7463: checking whether canonicalize_file_name must be declared" >&5
if eval "test \"`echo '$''{'bfd_cv_decl_needed_canonicalize_file_name'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7468 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main() {
*** 7450,7456 ****
char *(*pfn) = (char *(*)) canonicalize_file_name
; return 0; }
EOF
! if { (eval echo configure:7454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_canonicalize_file_name=no
else
--- 7485,7491 ----
char *(*pfn) = (char *(*)) canonicalize_file_name
; return 0; }
EOF
! if { (eval echo configure:7489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_decl_needed_canonicalize_file_name=no
else
*************** fi
*** 7476,7484 ****
# could be expunged. --jsm 1999-03-22
echo $ac_n "checking for HPUX save_state structure""... $ac_c" 1>&6
! echo "configure:7480: checking for HPUX save_state structure" >&5
cat > conftest.$ac_ext <<EOF
! #line 7482 "configure"
#include "confdefs.h"
#include <machine/save_state.h>
EOF
--- 7511,7519 ----
# could be expunged. --jsm 1999-03-22
echo $ac_n "checking for HPUX save_state structure""... $ac_c" 1>&6
! echo "configure:7515: checking for HPUX save_state structure" >&5
cat > conftest.$ac_ext <<EOF
! #line 7517 "configure"
#include "confdefs.h"
#include <machine/save_state.h>
EOF
*************** fi
*** 7493,7499 ****
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 7497 "configure"
#include "confdefs.h"
#include <machine/save_state.h>
EOF
--- 7528,7534 ----
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 7532 "configure"
#include "confdefs.h"
#include <machine/save_state.h>
EOF
*************** fi
*** 7563,7574 ****
if test "$ac_cv_header_sys_procfs_h" = yes; then
echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7567: checking for pstatus_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7572 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7598,7609 ----
if test "$ac_cv_header_sys_procfs_h" = yes; then
echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7602: checking for pstatus_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7607 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7577,7583 ****
pstatus_t avar
; return 0; }
EOF
! if { (eval echo configure:7581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pstatus_t=yes
else
--- 7612,7618 ----
pstatus_t avar
; return 0; }
EOF
! if { (eval echo configure:7616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pstatus_t=yes
else
*************** EOF
*** 7599,7610 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6
echo $ac_n "checking for prrun_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7603: checking for prrun_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7608 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7634,7645 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6
echo $ac_n "checking for prrun_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7638: checking for prrun_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7643 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7613,7619 ****
prrun_t avar
; return 0; }
EOF
! if { (eval echo configure:7617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prrun_t=yes
else
--- 7648,7654 ----
prrun_t avar
; return 0; }
EOF
! if { (eval echo configure:7652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prrun_t=yes
else
*************** EOF
*** 7635,7646 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6
echo $ac_n "checking for gregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7639: checking for gregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7644 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7670,7681 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6
echo $ac_n "checking for gregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7674: checking for gregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7679 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7649,7655 ****
gregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_gregset_t=yes
else
--- 7684,7690 ----
gregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_gregset_t=yes
else
*************** EOF
*** 7671,7682 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6
echo $ac_n "checking for fpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7675: checking for fpregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7680 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7706,7717 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6
echo $ac_n "checking for fpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7710: checking for fpregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7715 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7685,7691 ****
fpregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_fpregset_t=yes
else
--- 7720,7726 ----
fpregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_fpregset_t=yes
else
*************** EOF
*** 7707,7718 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_fpregset_t" 1>&6
echo $ac_n "checking for prgregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7711: checking for prgregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7716 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7742,7753 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_fpregset_t" 1>&6
echo $ac_n "checking for prgregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7746: checking for prgregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7751 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7721,7727 ****
prgregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prgregset_t=yes
else
--- 7756,7762 ----
prgregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prgregset_t=yes
else
*************** EOF
*** 7743,7754 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset_t" 1>&6
echo $ac_n "checking for prfpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7747: checking for prfpregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7752 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7778,7789 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset_t" 1>&6
echo $ac_n "checking for prfpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7782: checking for prfpregset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7787 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7757,7763 ****
prfpregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prfpregset_t=yes
else
--- 7792,7798 ----
prfpregset_t avar
; return 0; }
EOF
! if { (eval echo configure:7796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prfpregset_t=yes
else
*************** EOF
*** 7779,7790 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset_t" 1>&6
echo $ac_n "checking for prgregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7783: checking for prgregset32_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7788 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7814,7825 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset_t" 1>&6
echo $ac_n "checking for prgregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7818: checking for prgregset32_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7823 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7793,7799 ****
prgregset32_t avar
; return 0; }
EOF
! if { (eval echo configure:7797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prgregset32_t=yes
else
--- 7828,7834 ----
prgregset32_t avar
; return 0; }
EOF
! if { (eval echo configure:7832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prgregset32_t=yes
else
*************** EOF
*** 7815,7826 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset32_t" 1>&6
echo $ac_n "checking for prfpregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7819: checking for prfpregset32_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7824 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7850,7861 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset32_t" 1>&6
echo $ac_n "checking for prfpregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7854: checking for prfpregset32_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7859 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7829,7835 ****
prfpregset32_t avar
; return 0; }
EOF
! if { (eval echo configure:7833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prfpregset32_t=yes
else
--- 7864,7870 ----
prfpregset32_t avar
; return 0; }
EOF
! if { (eval echo configure:7868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prfpregset32_t=yes
else
*************** EOF
*** 7851,7862 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset32_t" 1>&6
echo $ac_n "checking for lwpid_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7855: checking for lwpid_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7860 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7886,7897 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset32_t" 1>&6
echo $ac_n "checking for lwpid_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7890: checking for lwpid_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7895 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7865,7871 ****
lwpid_t avar
; return 0; }
EOF
! if { (eval echo configure:7869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_lwpid_t=yes
else
--- 7900,7906 ----
lwpid_t avar
; return 0; }
EOF
! if { (eval echo configure:7904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_lwpid_t=yes
else
*************** EOF
*** 7887,7898 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpid_t" 1>&6
echo $ac_n "checking for psaddr_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7891: checking for psaddr_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psaddr_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7896 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7922,7933 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpid_t" 1>&6
echo $ac_n "checking for psaddr_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7926: checking for psaddr_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psaddr_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7931 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7901,7907 ****
psaddr_t avar
; return 0; }
EOF
! if { (eval echo configure:7905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_psaddr_t=yes
else
--- 7936,7942 ----
psaddr_t avar
; return 0; }
EOF
! if { (eval echo configure:7940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_psaddr_t=yes
else
*************** EOF
*** 7923,7934 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_psaddr_t" 1>&6
echo $ac_n "checking for prsysent_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7927: checking for prsysent_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prsysent_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7932 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7958,7969 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_psaddr_t" 1>&6
echo $ac_n "checking for prsysent_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7962: checking for prsysent_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prsysent_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7967 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7937,7943 ****
prsysent_t avar
; return 0; }
EOF
! if { (eval echo configure:7941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prsysent_t=yes
else
--- 7972,7978 ----
prsysent_t avar
; return 0; }
EOF
! if { (eval echo configure:7976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_prsysent_t=yes
else
*************** EOF
*** 7959,7970 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prsysent_t" 1>&6
echo $ac_n "checking for pr_sigset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7963: checking for pr_sigset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7968 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 7994,8005 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prsysent_t" 1>&6
echo $ac_n "checking for pr_sigset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7998: checking for pr_sigset_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigset_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8003 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 7973,7979 ****
pr_sigset_t avar
; return 0; }
EOF
! if { (eval echo configure:7977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pr_sigset_t=yes
else
--- 8008,8014 ----
pr_sigset_t avar
; return 0; }
EOF
! if { (eval echo configure:8012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pr_sigset_t=yes
else
*************** EOF
*** 7995,8006 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigset_t" 1>&6
echo $ac_n "checking for pr_sigaction64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7999: checking for pr_sigaction64_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigaction64_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8004 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 8030,8041 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigset_t" 1>&6
echo $ac_n "checking for pr_sigaction64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8034: checking for pr_sigaction64_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigaction64_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8039 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 8009,8015 ****
pr_sigaction64_t avar
; return 0; }
EOF
! if { (eval echo configure:8013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pr_sigaction64_t=yes
else
--- 8044,8050 ----
pr_sigaction64_t avar
; return 0; }
EOF
! if { (eval echo configure:8048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pr_sigaction64_t=yes
else
*************** EOF
*** 8031,8042 ****
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" 1>&6
echo $ac_n "checking for pr_siginfo64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8035: checking for pr_siginfo64_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_siginfo64_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8040 "configure"
#include "confdefs.h"
#define _SYSCALL32
--- 8066,8077 ----
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" 1>&6
echo $ac_n "checking for pr_siginfo64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8070: checking for pr_siginfo64_t in sys/procfs.h" >&5
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_siginfo64_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8075 "configure"
#include "confdefs.h"
#define _SYSCALL32
*************** int main() {
*** 8045,8051 ****
pr_siginfo64_t avar
; return 0; }
EOF
! if { (eval echo configure:8049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pr_siginfo64_t=yes
else
--- 8080,8086 ----
pr_siginfo64_t avar
; return 0; }
EOF
! if { (eval echo configure:8084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
bfd_cv_have_sys_procfs_type_pr_siginfo64_t=yes
else
*************** EOF
*** 8072,8078 ****
if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
echo $ac_n "checking whether prfpregset_t type is broken""... $ac_c" 1>&6
! echo "configure:8076: checking whether prfpregset_t type is broken" >&5
if eval "test \"`echo '$''{'gdb_cv_prfpregset_t_broken'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 8107,8113 ----
if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
echo $ac_n "checking whether prfpregset_t type is broken""... $ac_c" 1>&6
! echo "configure:8111: checking whether prfpregset_t type is broken" >&5
if eval "test \"`echo '$''{'gdb_cv_prfpregset_t_broken'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 8080,8086 ****
gdb_cv_prfpregset_t_broken=yes
else
cat > conftest.$ac_ext <<EOF
! #line 8084 "configure"
#include "confdefs.h"
#include <sys/procfs.h>
int main ()
--- 8115,8121 ----
gdb_cv_prfpregset_t_broken=yes
else
cat > conftest.$ac_ext <<EOF
! #line 8119 "configure"
#include "confdefs.h"
#include <sys/procfs.h>
int main ()
*************** else
*** 8090,8096 ****
return 0;
}
EOF
! if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_prfpregset_t_broken=no
else
--- 8125,8131 ----
return 0;
}
EOF
! if { (eval echo configure:8129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_prfpregset_t_broken=no
else
*************** EOF
*** 8115,8126 ****
echo $ac_n "checking for PIOCSET ioctl entry in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8119: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8124 "configure"
#include "confdefs.h"
#include <unistd.h>
#include <sys/types.h>
--- 8150,8161 ----
echo $ac_n "checking for PIOCSET ioctl entry in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8154: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8159 "configure"
#include "confdefs.h"
#include <unistd.h>
#include <sys/types.h>
*************** int main() {
*** 8133,8139 ****
; return 0; }
EOF
! if { (eval echo configure:8137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_procfs_piocset=yes
else
--- 8168,8174 ----
; return 0; }
EOF
! if { (eval echo configure:8172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_procfs_piocset=yes
else
*************** fi
*** 8157,8175 ****
if test ${host} = ${target} ; then
echo $ac_n "checking for member l_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8161: checking for member l_addr in struct link_map" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_l_members'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8166 "configure"
#include "confdefs.h"
#include <link.h>
int main() {
struct link_map lm; (void) lm.l_addr;
; return 0; }
EOF
! if { (eval echo configure:8173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_link_map_with_l_members=yes
else
--- 8192,8210 ----
if test ${host} = ${target} ; then
echo $ac_n "checking for member l_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8196: checking for member l_addr in struct link_map" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_l_members'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8201 "configure"
#include "confdefs.h"
#include <link.h>
int main() {
struct link_map lm; (void) lm.l_addr;
; return 0; }
EOF
! if { (eval echo configure:8208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_link_map_with_l_members=yes
else
*************** EOF
*** 8191,8202 ****
echo $ac_n "checking for member lm_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8195: checking for member lm_addr in struct link_map" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_lm_members'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8200 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <link.h>
--- 8226,8237 ----
echo $ac_n "checking for member lm_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8230: checking for member lm_addr in struct link_map" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_lm_members'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8235 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <link.h>
*************** int main() {
*** 8204,8210 ****
struct link_map lm; (void) lm.lm_addr;
; return 0; }
EOF
! if { (eval echo configure:8208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_link_map_with_lm_members=yes
else
--- 8239,8245 ----
struct link_map lm; (void) lm.lm_addr;
; return 0; }
EOF
! if { (eval echo configure:8243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_link_map_with_lm_members=yes
else
*************** EOF
*** 8226,8237 ****
echo $ac_n "checking for member som_addr in struct so_map""... $ac_c" 1>&6
! echo "configure:8230: checking for member som_addr in struct so_map" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_so_map_with_som_members'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8235 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_NLIST_H
--- 8261,8272 ----
echo $ac_n "checking for member som_addr in struct so_map""... $ac_c" 1>&6
! echo "configure:8265: checking for member som_addr in struct so_map" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_so_map_with_som_members'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8270 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_NLIST_H
*************** int main() {
*** 8242,8248 ****
struct so_map lm; (void) lm.som_addr;
; return 0; }
EOF
! if { (eval echo configure:8246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_so_map_with_som_members=yes
else
--- 8277,8283 ----
struct so_map lm; (void) lm.som_addr;
; return 0; }
EOF
! if { (eval echo configure:8281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_so_map_with_som_members=yes
else
*************** EOF
*** 8264,8275 ****
echo $ac_n "checking for struct link_map32 in sys/link.h""... $ac_c" 1>&6
! echo "configure:8268: checking for struct link_map32 in sys/link.h" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8273 "configure"
#include "confdefs.h"
#define _SYSCALL32
#include <sys/link.h>
--- 8299,8310 ----
echo $ac_n "checking for struct link_map32 in sys/link.h""... $ac_c" 1>&6
! echo "configure:8303: checking for struct link_map32 in sys/link.h" >&5
if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8308 "configure"
#include "confdefs.h"
#define _SYSCALL32
#include <sys/link.h>
*************** int main() {
*** 8277,8283 ****
struct link_map32 l;
; return 0; }
EOF
! if { (eval echo configure:8281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_link_map32=yes
else
--- 8312,8318 ----
struct link_map32 l;
; return 0; }
EOF
! if { (eval echo configure:8316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_struct_link_map32=yes
else
*************** fi
*** 8304,8315 ****
echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6
! echo "configure:8308: checking for long long support in compiler" >&5
if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8313 "configure"
#include "confdefs.h"
int main() {
--- 8339,8350 ----
echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6
! echo "configure:8343: checking for long long support in compiler" >&5
if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8348 "configure"
#include "confdefs.h"
int main() {
*************** int main() {
*** 8319,8325 ****
; return 0; }
EOF
! if { (eval echo configure:8323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_c_long_long=yes
else
--- 8354,8360 ----
; return 0; }
EOF
! if { (eval echo configure:8358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_c_long_long=yes
else
*************** fi
*** 8341,8347 ****
echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6
! echo "configure:8345: checking for long long support in printf" >&5
if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 8376,8382 ----
echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6
! echo "configure:8380: checking for long long support in printf" >&5
if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 8349,8355 ****
gdb_cv_printf_has_long_long=no
else
cat > conftest.$ac_ext <<EOF
! #line 8353 "configure"
#include "confdefs.h"
int main () {
--- 8384,8390 ----
gdb_cv_printf_has_long_long=no
else
cat > conftest.$ac_ext <<EOF
! #line 8388 "configure"
#include "confdefs.h"
int main () {
*************** int main () {
*** 8363,8369 ****
return (strcmp ("0x0123456789abcdef", buf));
}
EOF
! if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_printf_has_long_long=yes
else
--- 8398,8404 ----
return (strcmp ("0x0123456789abcdef", buf));
}
EOF
! if { (eval echo configure:8402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_printf_has_long_long=yes
else
*************** echo "$ac_t""$gdb_cv_printf_has_long_lon
*** 8387,8405 ****
echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6
! echo "configure:8391: checking for long double support in compiler" >&5
if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8396 "configure"
#include "confdefs.h"
int main() {
long double foo;
; return 0; }
EOF
! if { (eval echo configure:8403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_long_double=yes
else
--- 8422,8440 ----
echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6
! echo "configure:8426: checking for long double support in compiler" >&5
if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8431 "configure"
#include "confdefs.h"
int main() {
long double foo;
; return 0; }
EOF
! if { (eval echo configure:8438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_long_double=yes
else
*************** fi
*** 8421,8427 ****
echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6
! echo "configure:8425: checking for long double support in printf" >&5
if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 8456,8462 ----
echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6
! echo "configure:8460: checking for long double support in printf" >&5
if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 8429,8435 ****
gdb_cv_printf_has_long_double=no
else
cat > conftest.$ac_ext <<EOF
! #line 8433 "configure"
#include "confdefs.h"
int main () {
--- 8464,8470 ----
gdb_cv_printf_has_long_double=no
else
cat > conftest.$ac_ext <<EOF
! #line 8468 "configure"
#include "confdefs.h"
int main () {
*************** int main () {
*** 8439,8445 ****
return (strncmp ("3.14159", buf, 7));
}
EOF
! if { (eval echo configure:8443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_printf_has_long_double=yes
else
--- 8474,8480 ----
return (strncmp ("3.14159", buf, 7));
}
EOF
! if { (eval echo configure:8478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_printf_has_long_double=yes
else
*************** echo "$ac_t""$gdb_cv_printf_has_long_dou
*** 8463,8469 ****
echo $ac_n "checking for long double support in scanf""... $ac_c" 1>&6
! echo "configure:8467: checking for long double support in scanf" >&5
if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 8498,8504 ----
echo $ac_n "checking for long double support in scanf""... $ac_c" 1>&6
! echo "configure:8502: checking for long double support in scanf" >&5
if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 8471,8477 ****
gdb_cv_scanf_has_long_double=no
else
cat > conftest.$ac_ext <<EOF
! #line 8475 "configure"
#include "confdefs.h"
int main () {
--- 8506,8512 ----
gdb_cv_scanf_has_long_double=no
else
cat > conftest.$ac_ext <<EOF
! #line 8510 "configure"
#include "confdefs.h"
int main () {
*************** int main () {
*** 8481,8487 ****
return !(f > 3.14159 && f < 3.14160);
}
EOF
! if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_scanf_has_long_double=yes
else
--- 8516,8522 ----
return !(f > 3.14159 && f < 3.14160);
}
EOF
! if { (eval echo configure:8520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gdb_cv_scanf_has_long_double=yes
else
*************** echo "$ac_t""$gdb_cv_scanf_has_long_doub
*** 8506,8512 ****
case ${host_os} in
aix*)
echo $ac_n "checking for -bbigtoc option""... $ac_c" 1>&6
! echo "configure:8510: checking for -bbigtoc option" >&5
if eval "test \"`echo '$''{'gdb_cv_bigtoc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 8541,8547 ----
case ${host_os} in
aix*)
echo $ac_n "checking for -bbigtoc option""... $ac_c" 1>&6
! echo "configure:8545: checking for -bbigtoc option" >&5
if eval "test \"`echo '$''{'gdb_cv_bigtoc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 8520,8533 ****
LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
cat > conftest.$ac_ext <<EOF
! #line 8524 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
! if { (eval echo configure:8531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
:
else
echo "configure: failed program was:" >&5
--- 8555,8568 ----
LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
cat > conftest.$ac_ext <<EOF
! #line 8559 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
! if { (eval echo configure:8566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
:
else
echo "configure: failed program was:" >&5
*************** if test ${build} = ${host} -a ${host} =
*** 8550,8556 ****
case ${host_os} in
hpux*)
echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6
! echo "configure:8554: checking for HPUX/OSF thread support" >&5
if test -f /usr/include/dce/cma_config.h ; then
if test "$GCC" = "yes" ; then
echo "$ac_t""yes" 1>&6
--- 8585,8591 ----
case ${host_os} in
hpux*)
echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6
! echo "configure:8589: checking for HPUX/OSF thread support" >&5
if test -f /usr/include/dce/cma_config.h ; then
if test "$GCC" = "yes" ; then
echo "$ac_t""yes" 1>&6
*************** EOF
*** 8573,8579 ****
# because version 0 (present on Solaris 2.4 or earlier) doesn't have
# the same API.
echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6
! echo "configure:8577: checking for Solaris thread debugging library" >&5
if test -f /usr/lib/libthread_db.so.1 ; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
--- 8608,8614 ----
# because version 0 (present on Solaris 2.4 or earlier) doesn't have
# the same API.
echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6
! echo "configure:8612: checking for Solaris thread debugging library" >&5
if test -f /usr/lib/libthread_db.so.1 ; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
*************** EOF
*** 8583,8589 ****
CONFIG_LIB_OBS="${CONFIG_LIB_OBS} sol-thread.o"
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:8587: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 8618,8624 ----
CONFIG_LIB_OBS="${CONFIG_LIB_OBS} sol-thread.o"
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:8622: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
*************** else
*** 8591,8597 ****
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 8595 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
--- 8626,8632 ----
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 8630 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
*************** int main() {
*** 8602,8608 ****
dlopen()
; return 0; }
EOF
! if { (eval echo configure:8606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 8637,8643 ----
dlopen()
; return 0; }
EOF
! if { (eval echo configure:8641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
*************** fi
*** 8634,8650 ****
# all symbols visible in the dynamic symbol table.
hold_ldflags=$LDFLAGS
echo $ac_n "checking for the ld -export-dynamic flag""... $ac_c" 1>&6
! echo "configure:8638: checking for the ld -export-dynamic flag" >&5
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
cat > conftest.$ac_ext <<EOF
! #line 8641 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
! if { (eval echo configure:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
found=yes
else
--- 8669,8685 ----
# all symbols visible in the dynamic symbol table.
hold_ldflags=$LDFLAGS
echo $ac_n "checking for the ld -export-dynamic flag""... $ac_c" 1>&6
! echo "configure:8673: checking for the ld -export-dynamic flag" >&5
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
cat > conftest.$ac_ext <<EOF
! #line 8676 "configure"
#include "confdefs.h"
int main() {
int i;
; return 0; }
EOF
! if { (eval echo configure:8683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
found=yes
else
*************** rm -f conftest*
*** 8663,8675 ****
# Sun randomly tweaked the prototypes in <proc_service.h>
# at one point.
echo $ac_n "checking if <proc_service.h> is old""... $ac_c" 1>&6
! echo "configure:8667: checking if <proc_service.h> is old" >&5
if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8673 "configure"
#include "confdefs.h"
#include <proc_service.h>
--- 8698,8710 ----
# Sun randomly tweaked the prototypes in <proc_service.h>
# at one point.
echo $ac_n "checking if <proc_service.h> is old""... $ac_c" 1>&6
! echo "configure:8702: checking if <proc_service.h> is old" >&5
if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8708 "configure"
#include "confdefs.h"
#include <proc_service.h>
*************** int main() {
*** 8680,8686 ****
; return 0; }
EOF
! if { (eval echo configure:8684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_proc_service_is_old=no
else
--- 8715,8721 ----
; return 0; }
EOF
! if { (eval echo configure:8719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_proc_service_is_old=no
else
*************** EOF
*** 8706,8717 ****
;;
aix*)
echo $ac_n "checking for AiX thread debugging library""... $ac_c" 1>&6
! echo "configure:8710: checking for AiX thread debugging library" >&5
if eval "test \"`echo '$''{'gdb_cv_have_aix_thread_debug'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8715 "configure"
#include "confdefs.h"
#include <sys/pthdebug.h>
int main() {
--- 8741,8752 ----
;;
aix*)
echo $ac_n "checking for AiX thread debugging library""... $ac_c" 1>&6
! echo "configure:8745: checking for AiX thread debugging library" >&5
if eval "test \"`echo '$''{'gdb_cv_have_aix_thread_debug'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8750 "configure"
#include "confdefs.h"
#include <sys/pthdebug.h>
int main() {
*************** int main() {
*** 8720,8726 ****
#endif
; return 0; }
EOF
! if { (eval echo configure:8724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_aix_thread_debug=yes
else
--- 8755,8761 ----
#endif
; return 0; }
EOF
! if { (eval echo configure:8759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_have_aix_thread_debug=yes
else
*************** fi
*** 8745,8763 ****
if test "x$ac_cv_header_thread_db_h" = "xyes"; then
echo $ac_n "checking whether <thread_db.h> has TD_NOTALLOC""... $ac_c" 1>&6
! echo "configure:8749: checking whether <thread_db.h> has TD_NOTALLOC" >&5
if eval "test \"`echo '$''{'gdb_cv_thread_db_h_has_td_notalloc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8754 "configure"
#include "confdefs.h"
#include <thread_db.h>
int main() {
int i = TD_NOTALLOC;
; return 0; }
EOF
! if { (eval echo configure:8761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_thread_db_h_has_td_notalloc=yes
else
--- 8780,8798 ----
if test "x$ac_cv_header_thread_db_h" = "xyes"; then
echo $ac_n "checking whether <thread_db.h> has TD_NOTALLOC""... $ac_c" 1>&6
! echo "configure:8784: checking whether <thread_db.h> has TD_NOTALLOC" >&5
if eval "test \"`echo '$''{'gdb_cv_thread_db_h_has_td_notalloc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8789 "configure"
#include "confdefs.h"
#include <thread_db.h>
int main() {
int i = TD_NOTALLOC;
; return 0; }
EOF
! if { (eval echo configure:8796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_thread_db_h_has_td_notalloc=yes
else
*************** fi
*** 8782,8800 ****
if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
echo $ac_n "checking whether <sys/syscall.h> has __NR_tkill""... $ac_c" 1>&6
! echo "configure:8786: checking whether <sys/syscall.h> has __NR_tkill" >&5
if eval "test \"`echo '$''{'gdb_cv_sys_syscall_h_has_tkill'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8791 "configure"
#include "confdefs.h"
#include <sys/syscall.h>
int main() {
int i = __NR_tkill;
; return 0; }
EOF
! if { (eval echo configure:8798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_sys_syscall_h_has_tkill=yes
else
--- 8817,8835 ----
if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
echo $ac_n "checking whether <sys/syscall.h> has __NR_tkill""... $ac_c" 1>&6
! echo "configure:8821: checking whether <sys/syscall.h> has __NR_tkill" >&5
if eval "test \"`echo '$''{'gdb_cv_sys_syscall_h_has_tkill'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8826 "configure"
#include "confdefs.h"
#include <sys/syscall.h>
int main() {
int i = __NR_tkill;
; return 0; }
EOF
! if { (eval echo configure:8833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gdb_cv_sys_syscall_h_has_tkill=yes
else
*************** WERROR_CFLAGS=""
*** 8905,8911 ****
if test "x${build_warnings}" != x -a "x$GCC" = xyes
then
echo $ac_n "checking compiler warning flags""... $ac_c" 1>&6
! echo "configure:8909: checking compiler warning flags" >&5
# Separate out the -Werror flag as some files just cannot be
# compiled with it enabled.
for w in ${build_warnings}; do
--- 8940,8946 ----
if test "x${build_warnings}" != x -a "x$GCC" = xyes
then
echo $ac_n "checking compiler warning flags""... $ac_c" 1>&6
! echo "configure:8944: checking compiler warning flags" >&5
# Separate out the -Werror flag as some files just cannot be
# compiled with it enabled.
for w in ${build_warnings}; do
*************** echo "configure:8909: checking compiler
*** 8915,8928 ****
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $w"
cat > conftest.$ac_ext <<EOF
! #line 8919 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
! if { (eval echo configure:8926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
WARN_CFLAGS="${WARN_CFLAGS} $w"
else
--- 8950,8963 ----
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $w"
cat > conftest.$ac_ext <<EOF
! #line 8954 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
! if { (eval echo configure:8961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
WARN_CFLAGS="${WARN_CFLAGS} $w"
else
*************** fi
*** 8970,8981 ****
# In the Cygwin environment, we need some additional flags.
echo $ac_n "checking for cygwin""... $ac_c" 1>&6
! echo "configure:8974: checking for cygwin" >&5
if eval "test \"`echo '$''{'gdb_cv_os_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 8979 "configure"
#include "confdefs.h"
#if defined (__CYGWIN__) || defined (__CYGWIN32__)
--- 9005,9016 ----
# In the Cygwin environment, we need some additional flags.
echo $ac_n "checking for cygwin""... $ac_c" 1>&6
! echo "configure:9009: checking for cygwin" >&5
if eval "test \"`echo '$''{'gdb_cv_os_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 9014 "configure"
#include "confdefs.h"
#if defined (__CYGWIN__) || defined (__CYGWIN32__)
*************** if test "${with_tclconfig+set}" = set; t
*** 9053,9059 ****
fi
echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
! echo "configure:9057: checking for Tcl configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 9088,9094 ----
fi
echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
! echo "configure:9092: checking for Tcl configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** if test "${with_tkconfig+set}" = set; th
*** 9162,9168 ****
fi
echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
! echo "configure:9166: checking for Tk configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 9197,9203 ----
fi
echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
! echo "configure:9201: checking for Tk configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** fi
*** 9271,9277 ****
no_tcl=true
echo $ac_n "checking for Tcl private headers. dir=${configdir}""... $ac_c" 1>&6
! echo "configure:9275: checking for Tcl private headers. dir=${configdir}" >&5
# Check whether --with-tclinclude or --without-tclinclude was given.
if test "${with_tclinclude+set}" = set; then
withval="$with_tclinclude"
--- 9306,9312 ----
no_tcl=true
echo $ac_n "checking for Tcl private headers. dir=${configdir}""... $ac_c" 1>&6
! echo "configure:9310: checking for Tcl private headers. dir=${configdir}" >&5
# Check whether --with-tclinclude or --without-tclinclude was given.
if test "${with_tclinclude+set}" = set; then
withval="$with_tclinclude"
*************** fi
*** 9337,9353 ****
if test x"${ac_cv_c_tclh}" = x ; then
ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
! echo "configure:9341: checking for tclInt.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 9346 "configure"
#include "confdefs.h"
#include <tclInt.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 9372,9388 ----
if test x"${ac_cv_c_tclh}" = x ; then
ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
! echo "configure:9376: checking for tclInt.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 9381 "configure"
#include "confdefs.h"
#include <tclInt.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** fi
*** 9407,9413 ****
#
no_tk=true
echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
! echo "configure:9411: checking for Tk private headers" >&5
# Check whether --with-tkinclude or --without-tkinclude was given.
if test "${with_tkinclude+set}" = set; then
withval="$with_tkinclude"
--- 9442,9448 ----
#
no_tk=true
echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
! echo "configure:9446: checking for Tk private headers" >&5
# Check whether --with-tkinclude or --without-tkinclude was given.
if test "${with_tkinclude+set}" = set; then
withval="$with_tkinclude"
*************** fi
*** 9473,9489 ****
if test x"${ac_cv_c_tkh}" = x ; then
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:9477: checking for tk.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 9482 "configure"
#include "confdefs.h"
#include <tk.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 9508,9524 ----
if test x"${ac_cv_c_tkh}" = x ; then
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:9512: checking for tk.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 9517 "configure"
#include "confdefs.h"
#include <tk.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** fi
*** 9529,9535 ****
echo $ac_n "checking for Itcl private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:9533: checking for Itcl private headers. srcdir=${srcdir}" >&5
if test x"${ac_cv_c_itclh}" = x ; then
for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itcl; do
if test -f $i/generic/itcl.h ; then
--- 9564,9570 ----
echo $ac_n "checking for Itcl private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:9568: checking for Itcl private headers. srcdir=${srcdir}" >&5
if test x"${ac_cv_c_itclh}" = x ; then
for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itcl; do
if test -f $i/generic/itcl.h ; then
*************** fi
*** 9552,9558 ****
echo $ac_n "checking for Itk private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:9556: checking for Itk private headers. srcdir=${srcdir}" >&5
if test x"${ac_cv_c_itkh}" = x ; then
for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itk; do
if test -f $i/generic/itk.h ; then
--- 9587,9593 ----
echo $ac_n "checking for Itk private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:9591: checking for Itk private headers. srcdir=${srcdir}" >&5
if test x"${ac_cv_c_itkh}" = x ; then
for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itk; do
if test -f $i/generic/itk.h ; then
*************** if test "${with_itclconfig+set}" = set;
*** 9607,9613 ****
fi
echo $ac_n "checking for Itcl configuration""... $ac_c" 1>&6
! echo "configure:9611: checking for Itcl configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_itclconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 9642,9648 ----
fi
echo $ac_n "checking for Itcl configuration""... $ac_c" 1>&6
! echo "configure:9646: checking for Itcl configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_itclconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** if test "${with_itkconfig+set}" = set; t
*** 9710,9716 ****
fi
echo $ac_n "checking for Itk configuration""... $ac_c" 1>&6
! echo "configure:9714: checking for Itk configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_itkconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 9745,9751 ----
fi
echo $ac_n "checking for Itk configuration""... $ac_c" 1>&6
! echo "configure:9749: checking for Itk configuration" >&5
if eval "test \"`echo '$''{'ac_cv_c_itkconfig'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** fi
*** 9853,9859 ****
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
echo $ac_n "checking for X""... $ac_c" 1>&6
! echo "configure:9857: checking for X" >&5
# Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
--- 9888,9894 ----
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
echo $ac_n "checking for X""... $ac_c" 1>&6
! echo "configure:9892: checking for X" >&5
# Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
*************** if test "$ac_x_includes" = NO; then
*** 9915,9926 ****
# First, try using that file with no special directory specified.
cat > conftest.$ac_ext <<EOF
! #line 9919 "configure"
#include "confdefs.h"
#include <$x_direct_test_include>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 9950,9961 ----
# First, try using that file with no special directory specified.
cat > conftest.$ac_ext <<EOF
! #line 9954 "configure"
#include "confdefs.h"
#include <$x_direct_test_include>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** if test "$ac_x_libraries" = NO; then
*** 9989,10002 ****
ac_save_LIBS="$LIBS"
LIBS="-l$x_direct_test_library $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 9993 "configure"
#include "confdefs.h"
int main() {
${x_direct_test_function}()
; return 0; }
EOF
! if { (eval echo configure:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
LIBS="$ac_save_LIBS"
# We can link X programs with no special library path.
--- 10024,10037 ----
ac_save_LIBS="$LIBS"
LIBS="-l$x_direct_test_library $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 10028 "configure"
#include "confdefs.h"
int main() {
${x_direct_test_function}()
; return 0; }
EOF
! if { (eval echo configure:10035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
LIBS="$ac_save_LIBS"
# We can link X programs with no special library path.
*************** fi
*** 10244,10250 ****
# We only build gdbserver automatically if host and target are the same.
if test "x$target" = "x$host"; then
echo $ac_n "checking whether gdbserver is supported on this host""... $ac_c" 1>&6
! echo "configure:10248: checking whether gdbserver is supported on this host" >&5
if test "x$build_gdbserver" = xyes; then
configdirs="$configdirs gdbserver"
echo "$ac_t""yes" 1>&6
--- 10279,10285 ----
# We only build gdbserver automatically if host and target are the same.
if test "x$target" = "x$host"; then
echo $ac_n "checking whether gdbserver is supported on this host""... $ac_c" 1>&6
! echo "configure:10283: checking whether gdbserver is supported on this host" >&5
if test "x$build_gdbserver" = xyes; then
configdirs="$configdirs gdbserver"
echo "$ac_t""yes" 1>&6
*************** fi
*** 10308,10319 ****
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
! echo "configure:10312: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 10317 "configure"
#include "confdefs.h"
int main() {
--- 10343,10354 ----
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
! echo "configure:10347: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 10352 "configure"
#include "confdefs.h"
int main() {
*************** int main() {
*** 10324,10330 ****
return __CYGWIN__;
; return 0; }
EOF
! if { (eval echo configure:10328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
--- 10359,10365 ----
return __CYGWIN__;
; return 0; }
EOF
! if { (eval echo configure:10363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
*************** echo "$ac_t""$ac_cv_cygwin" 1>&6
*** 10341,10359 ****
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
! echo "configure:10345: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 10350 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
EOF
! if { (eval echo configure:10357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
--- 10376,10394 ----
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
! echo "configure:10380: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 10385 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
EOF
! if { (eval echo configure:10392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
*************** test "$ac_cv_mingw32" = yes && MINGW32=y
*** 10372,10378 ****
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
! echo "configure:10376: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 10407,10413 ----
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
! echo "configure:10411: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 10382,10388 ****
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
! if { (eval echo configure:10386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj | *.ilk | *.pdb) ;;
--- 10417,10423 ----
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
! if { (eval echo configure:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj | *.ilk | *.pdb) ;;
*************** fi
*** 10424,10430 ****
echo $ac_n "checking for iconv""... $ac_c" 1>&6
! echo "configure:10428: checking for iconv" >&5
if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 10459,10465 ----
echo $ac_n "checking for iconv""... $ac_c" 1>&6
! echo "configure:10463: checking for iconv" >&5
if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** else
*** 10432,10438 ****
am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no
cat > conftest.$ac_ext <<EOF
! #line 10436 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
--- 10467,10473 ----
am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no
cat > conftest.$ac_ext <<EOF
! #line 10471 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
*************** iconv_t cd = iconv_open("","");
*** 10442,10448 ****
iconv_close(cd);
; return 0; }
EOF
! if { (eval echo configure:10446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_func_iconv=yes
else
--- 10477,10483 ----
iconv_close(cd);
; return 0; }
EOF
! if { (eval echo configure:10481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_func_iconv=yes
else
*************** rm -f conftest*
*** 10454,10460 ****
am_save_LIBS="$LIBS"
LIBS="$LIBS -liconv"
cat > conftest.$ac_ext <<EOF
! #line 10458 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
--- 10489,10495 ----
am_save_LIBS="$LIBS"
LIBS="$LIBS -liconv"
cat > conftest.$ac_ext <<EOF
! #line 10493 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
*************** iconv_t cd = iconv_open("","");
*** 10464,10470 ****
iconv_close(cd);
; return 0; }
EOF
! if { (eval echo configure:10468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_lib_iconv=yes
am_cv_func_iconv=yes
--- 10499,10505 ----
iconv_close(cd);
; return 0; }
EOF
! if { (eval echo configure:10503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_lib_iconv=yes
am_cv_func_iconv=yes
*************** echo "$ac_t""$am_cv_func_iconv" 1>&6
*** 10485,10497 ****
EOF
echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
! echo "configure:10489: checking for iconv declaration" >&5
if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 10495 "configure"
#include "confdefs.h"
#include <stdlib.h>
--- 10520,10532 ----
EOF
echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
! echo "configure:10524: checking for iconv declaration" >&5
if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 10530 "configure"
#include "confdefs.h"
#include <stdlib.h>
*************** int main() {
*** 10510,10516 ****
; return 0; }
EOF
! if { (eval echo configure:10514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
am_cv_proto_iconv_arg1=""
else
--- 10545,10551 ----
; return 0; }
EOF
! if { (eval echo configure:10549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
am_cv_proto_iconv_arg1=""
else
Index: config.in
===================================================================
RCS file: /cvs/src/src/gdb/config.in,v
retrieving revision 1.56
diff -c -3 -p -r1.56 config.in
*** config.in 8 Jun 2003 18:27:12 -0000 1.56
--- config.in 5 Aug 2003 05:52:46 -0000
***************
*** 453,458 ****
--- 453,461 ----
/* Define if <stdint.h> provides the uintptr_t type. */
#undef HAVE_UINTPTR_T
+ /* Define if a struct may contain an enum bitfield. */
+ #undef HAVE_ENUM_BITFIELD
+
/* Define if malloc is not declared in system header files. */
#undef NEED_DECLARATION_MALLOC
Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.77
Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.77
diff -c -3 -p -r1.77 symtab.h
*** symtab.h 22 Jul 2003 15:41:59 -0000 1.77
--- symtab.h 5 Aug 2003 05:57:26 -0000
*************** struct blockvector;
*** 35,49 ****
struct axs_value;
struct agent_expr;
! /* Don't do this; it means that if some .o's are compiled with GNU C
! and some are not (easy to do accidentally the way we configure
! things; also it is a pain to have to "make clean" every time you
! want to switch compilers), then GDB dies a horrible death. */
! /* GNU C supports enums that are bitfields. Some compilers don't. */
! #if 0 && defined(__GNUC__) && !defined(BYTE_BITFIELD)
! #define BYTE_BITFIELD :8;
#else
! #define BYTE_BITFIELD /*nothing */
#endif
/* Define a structure for the information that is common to all symbol types,
--- 35,46 ----
struct axs_value;
struct agent_expr;
! /* Some compilers support enum bitfields. Some do not. */
!
! #if defined(HAVE_ENUM_BITFIELD)
! #define BYTE_BITFIELD : 8
#else
! #define BYTE_BITFIELD /* nothing */
#endif
/* Define a structure for the information that is common to all symbol types,