From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22221 invoked by alias); 10 Feb 2012 18:34:11 -0000 Received: (qmail 22045 invoked by uid 22791); 10 Feb 2012 18:34:10 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Feb 2012 18:33:58 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1AIXa2D009588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 10 Feb 2012 13:33:36 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1AIXZs1006478; Fri, 10 Feb 2012 13:33:35 -0500 Message-ID: <4F3562FE.7050106@redhat.com> Date: Fri, 10 Feb 2012 18:34:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: Jan Kratochvil CC: Tristan Gingold , "gdb-patches@sourceware.org ml" Subject: Re: RFA: Try to include libunwind-ia64.h in libunwind-frame.h References: <5D1CD28F-F628-475C-B6D8-5FCBF5290C63@adacore.com> <20120210182705.GA32459@host2.jankratochvil.net> In-Reply-To: <20120210182705.GA32459@host2.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00212.txt.bz2 On 02/10/2012 06:27 PM, Jan Kratochvil wrote: > +++ b/gdb/configure.ac > @@ -349,8 +349,14 @@ AS_HELP_STRING([--with-libunwind], [use libunwind frame unwinding support]), > *) AC_MSG_ERROR(bad value ${withval} for GDB with-libunwind option) ;; > esac],[ > AC_CHECK_HEADERS(libunwind.h libunwind-ia64.h) > - if test x"$ac_cv_header_libunwind_h" = xyes -a x"$ac_cv_header_libunwind_ia64_h" = xyes; then > + if test x"$ac_cv_header_libunwind_h" = xyes; then > enable_libunwind=yes; > + elif test x"$ac_cv_header_libunwind_ia64_h" = xyes; then > + case "$target" in > + ia64*) > + enable_libunwind=yes; > + ;; > + esac > fi > ]) > What about --enable-targets=all, or --target=x86_64-foo --enable-target=ia64-xxx ? -- Pedro Alves