From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25595 invoked by alias); 27 Jun 2011 08:59:34 -0000 Received: (qmail 25573 invoked by uid 22791); 27 Jun 2011 08:59:33 -0000 X-SWARE-Spam-Status: No, hits=-1.8 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; Mon, 27 Jun 2011 08:59:18 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 01820CB0231; Mon, 27 Jun 2011 10:59:17 +0200 (CEST) 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 zEIA31ORhO1Q; Mon, 27 Jun 2011 10:59:13 +0200 (CEST) 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 DF419CB0220; Mon, 27 Jun 2011 10:59:13 +0200 (CEST) Subject: Re: patches for mac support Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <3AEF56B29352C444960F3B876394346082CF30@008-AM1MPN1-033.mgdnok.nokia.com> Date: Mon, 27 Jun 2011 08:59:00 -0000 Cc: Content-Transfer-Encoding: quoted-printable Message-Id: References: <9B2A7195-51A9-4F40-97B9-159E041D3174@nokia.com>,<3634A65E-25ED-4F1F-8D22-AD3FCEAF2C9B@adacore.com> <3AEF56B29352C444960F3B876394346082CF30@008-AM1MPN1-033.mgdnok.nokia.com> To: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00143.txt.bz2 On Jun 26, 2011, at 2:22 AM, wrote: > On Friday, June 24, 2011 at 11:38 AM Tristan Gingold [gingold@adacore.com= ] wrote: >=20 > On Jun 23, 2011, at 10:07 PM, Fawzi Mohamed wrote: >=20 >> Mohamed, >>=20 >> First, thank you for this work. >=20 > you are welcome >=20 >>> I have worked on bug http://sourceware.org/bugzilla/show_bug.cgi?id=3D1= 1488 . >>> Now I think that I have reached to bottom of it, and I have a set of cl= ean patches that could use a review. >>>=20 >>> Apple gdb simply ignores the eh_frame sections for the libraries withou= t embedded dwarf info, not using eh information (which was the first patch = that I submitted) but I find that one should be able to use them, so I look= ed further and found the "correct" fix. >>> As the path to it was a bit convoluted I have done a few improvements t= o pieces of code that did fail as consequence of the original bug. >>>=20 >>> The "main" fix is >>> http://sourceware.org/bugzilla/attachment.cgi?id=3D5816&action=3Ddiff >>> which fixes the mmaped read of sections. >>=20 >> We (AdaCore) has something very similar in our internal tree. I very re= cently worked on submitting a patch to fix this issue. >> The submitted patch was larger as I tried to clean-up this API. >=20 > great, I don't care the way it goes, as long as it gets fixed..., > so I suppose I can skip submitting it, unless yours doesn't get accepted. > A pity hat you didn't tell this in the bug, I would have spared some debu= gging, I am a lazy guy too :-) > I am a lazy guy ;)... Anyway, I have just committed our patch. BTW, do you (or Nokia) have the FSF copyright assignment ? Tristan.