From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 769 invoked by alias); 27 Jun 2011 09:18:39 -0000 Received: (qmail 759 invoked by uid 22791); 27 Jun 2011 09:18:37 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.nokia.com (HELO mgw-sa02.nokia.com) (147.243.1.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Jun 2011 09:18:23 +0000 Received: from bettdhcp167181.europe.nokia.com (bettdhcp167181.europe.nokia.com [172.25.167.181]) by mgw-sa02.nokia.com (Switch-3.4.4/Switch-3.4.3) with ESMTP id p5R9Hcko020335 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 27 Jun 2011 12:18:21 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: patches for mac support From: Fawzi Mohamed In-Reply-To: Date: Mon, 27 Jun 2011 09:18:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <0162CAB0-BBBA-478B-90A7-B50AB67C5FC9@nokia.com> References: <9B2A7195-51A9-4F40-97B9-159E041D3174@nokia.com>,<3634A65E-25ED-4F1F-8D22-AD3FCEAF2C9B@adacore.com> <3AEF56B29352C444960F3B876394346082CF30@008-AM1MPN1-033.mgdnok.nokia.com> To: gdb@sourceware.org X-Nokia-AV: Clean 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/msg00144.txt.bz2 On Jun 27, 2011, at 10:59 AM, ext Tristan Gingold wrote: >=20 > On Jun 26, 2011, at 2:22 AM, wrote: >=20 >> On Friday, June 24, 2011 at 11:38 AM Tristan Gingold [gingold@adacore.co= m] 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=3D= 11488 . >>>> Now I think that I have reached to bottom of it, and I have a set of c= lean patches that could use a review. >>>>=20 >>>> Apple gdb simply ignores the eh_frame sections for the libraries witho= ut 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 loo= ked further and found the "correct" fix. >>>> As the path to it was a bit convoluted I have done a few improvements = to 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 r= ecently 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 deb= ugging, >=20 > I am a lazy guy too :-) >=20 >> I am a lazy guy ;)... >=20 > Anyway, I have just committed our patch. >=20 > BTW, do you (or Nokia) have the FSF copyright assignment ? yes Nokia has a global copyright assignment to FSF ciao Fawzi