From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25935 invoked by alias); 15 Nov 2012 11:18:18 -0000 Received: (qmail 25927 invoked by uid 22791); 15 Nov 2012 11:18:16 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Thu, 15 Nov 2012 11:18:08 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAFBI7ia003738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Nov 2012 06:18:07 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qAFBI5OI007511; Thu, 15 Nov 2012 06:18:05 -0500 Message-ID: <50A4CF6D.40207@redhat.com> Date: Thu, 15 Nov 2012 11:18:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Doug Evans CC: Tom Tromey , Pedro Alves , gdb-patches@sourceware.org Subject: Re: RFA: handle "MiniDebuginfo" section References: <87wqxuel5k.fsf@fleche.redhat.com> <87zk2mbym3.fsf@fleche.redhat.com> <877gpp8i67.fsf@fleche.redhat.com> <50A29B8B.7050606@redhat.com> <87r4nx5ih1.fsf@fleche.redhat.com> <87390c40ys.fsf@fleche.redhat.com> <20643.62177.106208.211209@ruffy2.mtv.corp.google.com> In-Reply-To: <20643.62177.106208.211209@ruffy2.mtv.corp.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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-11/txt/msg00394.txt.bz2 On 14-11-2012 19:37, Doug Evans wrote: > 1) Being more of a minimalist when it comes to adding new stuff, and > applying "It's easier to relax restrictions than impose them after the fact." While in general I agree with this, > it would be easy enough to restrict the section to being an (lzma-compressed) > ELF file (and equally easy to relax the restriction if someone ever presented > a compelling reason to support it). Sure, we *can* support COFF, etc. but > that doesn't, to me, mean we *should*. > Does Redhat have a *formal* spec of .gnu_debugdata that says COFF, etc. is > supported. [If that's the case then my point is moot, > but I couldn't find any such formal spec.] I disagree with artificially making this ELF only. What you find stuffed in a .gnu_debugdata section is just another file that would otherwise be loadable by gdb if it was separate on the filesystem. IOW, stuffing the file as compressed binary blob into .gnu_debugdata is just a replacement for making the file really separate on the file system. There's really nothing container-specific (coff/elf,whatnot) in this. -- Pedro Alves