From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17030 invoked by alias); 2 Jul 2011 11:09:44 -0000 Received: (qmail 17019 invoked by uid 22791); 2 Jul 2011 11:09:43 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=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; Sat, 02 Jul 2011 11:09:29 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 7747BCB0231; Sat, 2 Jul 2011 13:09:28 +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 63CeJVR+XWCE; Sat, 2 Jul 2011 13:09:25 +0200 (CEST) Received: from [192.168.0.12] (mtg95-3-82-238-192-125.fbx.proxad.net [82.238.192.125]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id C55E4CB0227; Sat, 2 Jul 2011 13:09:24 +0200 (CEST) Subject: Re: [RFA/DWARF] Do not load .eh_frame section from separete object files Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: Date: Sat, 02 Jul 2011 11:09:00 -0000 Cc: Joel Brobecker , gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <6B66CB2F-05FA-4620-902F-33EE89D0ECB3@adacore.com> References: <1309543276-15291-1-git-send-email-brobecker@adacore.com> To: Tom Tromey 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: 2011-07/txt/msg00065.txt.bz2 On Jul 1, 2011, at 9:36 PM, Tom Tromey wrote: >>>>>> "Joel" =3D=3D Joel Brobecker writes: >=20 > Joel> We don't need to read the .eh_frame section from the separate > Joel> object files, because this data is already present in the > Joel> main executable (it needs to, or the program wouldn't work). >=20 > In the .debug files I looked at, the .eh_frame section is marked NOBITS. > I wonder why this isn't the case for you. That's not the case on Darwin, as separate files are object files in this c= ase. > Joel> Tested on x86_64-linux as well as x86_64-darwin. OK to commit? >=20 > The patch itself seems fine to me. >=20 > Tom