From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12452 invoked by alias); 21 Feb 2012 05:25:07 -0000 Received: (qmail 12421 invoked by uid 22791); 21 Feb 2012 05:25:05 -0000 X-SWARE-Spam-Status: No, hits=-6.6 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; Tue, 21 Feb 2012 05:24:48 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1L5OYSm027989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Feb 2012 00:24:34 -0500 Received: from host2.jankratochvil.net (ovpn-116-21.ams2.redhat.com [10.36.116.21]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1L5OT5V023640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 21 Feb 2012 00:24:32 -0500 Date: Tue, 21 Feb 2012 06:48:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: Tristan Gingold , "gdb-patches@sourceware.org ml" Subject: Re: RFA: Try to include libunwind-ia64.h in libunwind-frame.h Message-ID: <20120221052428.GA32408@host2.jankratochvil.net> References: <20120213190223.GA8851@host2.jankratochvil.net> <4F396251.9020409@redhat.com> <20120213192652.GA11522@host2.jankratochvil.net> <4F396CDC.7020504@redhat.com> <20120214072735.GA21362@host2.jankratochvil.net> <4F3A5001.4090500@redhat.com> <20120214143545.GA22678@host2.jankratochvil.net> <4F3A7531.6050303@redhat.com> <20120220204351.GA15256@host2.jankratochvil.net> <4F42C295.6010905@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F42C295.6010905@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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/msg00426.txt.bz2 On Mon, 20 Feb 2012 23:00:53 +0100, Pedro Alves wrote: > Fix GDB's broken inclusion of "libunwind.h". > As I've explained before, including "libunwind.h" in GDB is _always_ wrong > for GDB. Not in the native mode. For example core files support on some platforms is also supported only natively now. > I don't imagine how any multi-arch work we do to libunwind would make it > possible to include "libunwind.h". For native build of GDB - which is IMO 99% of its builds - with a oneliner patch of installing the unwinder it should work fully multi-arch. After your patch it will be slightly more complicated patch to make the libunwind support multi-arch (in native mode). > But in any case, this is much more than the real need we have now. And I > don't see why we can't fix the include problem, and do multi-arching as > follow up work as necessary. + > I don't see how different the result will be from today's state, Currently the code has some attempt to be multi-arch, despite not yet there. Let's say it is in 50% of the multi-arch libunwind supports. After this limitation to ia64 it will be at 30% of the multi-arch libunwind support. We have already spent more time talking about it than to either making it ia64-exclusive making the support 0% or to making the support fully multi-arch being 100% where nobody needs to talk about it anymore. The code in GDB which no longer makes sense but still is neither removed nor fixed makes it difficult for any contributions, coding, reviewing, anything, besides a few people who know what it should mean one day in the future. This is the reason why #if 0 code can be removed as [obv]. Thanks, Jan