From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15313 invoked by alias); 10 Feb 2012 13:15:54 -0000 Received: (qmail 15303 invoked by uid 22791); 10 Feb 2012 13:15:52 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Feb 2012 13:15:40 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id AA441290009; Fri, 10 Feb 2012 14:15:39 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x4anED9FCxmJ; Fri, 10 Feb 2012 14:15:39 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 981E7290001; Fri, 10 Feb 2012 14:15:39 +0100 (CET) Subject: Re: RFA: Try to include libunwind-ia64.h in libunwind-frame.h Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <20120210123032.GA739@host2.jankratochvil.net> Date: Fri, 10 Feb 2012 13:15:00 -0000 Cc: "gdb-patches@sourceware.org ml" , Joel Brobecker Content-Transfer-Encoding: quoted-printable Message-Id: <3BD738F7-81EB-4194-9B23-BF6366703B68@adacore.com> References: <5D1CD28F-F628-475C-B6D8-5FCBF5290C63@adacore.com> <20120210123032.GA739@host2.jankratochvil.net> To: Jan Kratochvil 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/msg00177.txt.bz2 On Feb 10, 2012, at 1:30 PM, Jan Kratochvil wrote: > On Thu, 02 Feb 2012 17:32:39 +0100, Tristan Gingold wrote: >> building a cross debugger for ia64 isn't as easy as for most other platf= orms. >> Part of the issue is libunwind.h, which is not well designed for cross o= peration: >=20 > Which libunwind do you test GDB against? I cannot build libunwind HEAD as > cross: > ./configure --target=3Dia64-linux > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type... ia64-unknown-linux-gnu >=20 > In file included from ../include/tdep-x86_64/libunwind_i.h:39:0, > from ../include/tdep/libunwind_i.h:19, > from ../include/libunwind_i.h:312, > from ia64/mk_Gcursor_i.c:30: > ../include/dwarf.h:41:26: fatal error: dwarf-config.h: No such file or di= rectory Sorry, but I don't have this particular issue when building on Darwin. YMM= V :-) > I do not see any pending fixes for it at . >=20 > I did not check much the GDB patch, IMO libunwind should be fixed first > instead, shouldn't it? Wouldn't be easier to get rid of libunwind, and starting from e.g. unwind-i= a64.c (although they certainly share some amount of code) ? Joel in CC:, as it wrote the HP/UX port. Tristan.