From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13444 invoked by alias); 11 Jun 2003 19:28:44 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8045 invoked from network); 11 Jun 2003 19:26:28 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 11 Jun 2003 19:26:28 -0000 Received: by zenia.home (Postfix, from userid 5433) id C7E8A20D83; Wed, 11 Jun 2003 14:26:26 -0500 (EST) To: Daniel Jacobowitz Cc: Nick Clifton , gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: Re: RFC: Support for separate debug info files References: <20030611134326.GA13158@nevyn.them.org> From: Jim Blandy Date: Wed, 11 Jun 2003 19:28:00 -0000 In-Reply-To: <20030611134326.GA13158@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-06/txt/msg00380.txt.bz2 Daniel Jacobowitz writes: > On Wed, Jun 11, 2003 at 08:36:29AM -0500, Jim Blandy wrote: > > > > Nick Clifton writes: > > > This leads me to my main point. Do we need the ability to create > > > stripped debuginfo files ? The original patch did this, but it > > > turns out to be problematical since the debuginfo files need to > > > contain dummy versions of the .text, .data, etc sections. Doing > > > this, rather than just stripping them out, looked non-trivial, so I > > > decided to skip it for this version. > > > > > > My theory is that the only benefit gained by being able to ship a > > > stripped debuginfo file as opposed to an unstripped one is that it > > > reduces the shipping size, making a distribution smaller. I am > > > assuming that hard disk space is not really an issue, just the size > > > of the shipped binaries. > > > > I think the idea is to omit the debug info files altogether from the > > distribution. It'll make the debug info packages take longer to > > download, but it's not a show-stopper, I think. > > For me it probably is a show-stopper - the issue is not download time > or disk space, but CD size. Duplicating all the binaries we want to > provide debug info for would probably push us over the edge. It could > be done separately though! This will at least let us test it... Actually, CD size is the issue for Red Hat, too (not that our problems are the only ones important to solve well). It's just that Red Hat doesn't include the debuginfo packages on the CD's at all, so we don't care how big they are. We used to ship executables with no debugging info, so shipping executables with debug links is a step up for us. If you used to ship executables with debugging info, then just shipping debug links would be a step down for you.