From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27090 invoked by alias); 18 Aug 2003 21:53:33 -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 27074 invoked from network); 18 Aug 2003 21:53:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 18 Aug 2003 21:53:32 -0000 Received: from drow by nevyn.them.org with local (Exim 4.20 #1 (Debian)) id 19orwR-0007dO-N1; Mon, 18 Aug 2003 17:53:31 -0400 Date: Mon, 18 Aug 2003 21:53:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Michael Snyder , Michael Elizabeth Chastain , ezannoni@redhat.com, gdb-patches@sources.redhat.com, ac131313@redhat.com Subject: Re: [rfa] save space by using enum bitfields Message-ID: <20030818215331.GA29279@nevyn.them.org> Mail-Followup-To: Jim Blandy , Michael Snyder , Michael Elizabeth Chastain , ezannoni@redhat.com, gdb-patches@sources.redhat.com, ac131313@redhat.com References: <200308180700.h7I70nAW028032@duracef.shout.net> <3F413BF4.2070200@redhat.com> <20030818205645.GA5331@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-08/txt/msg00314.txt.bz2 On Mon, Aug 18, 2003 at 04:48:48PM -0500, Jim Blandy wrote: > > Daniel Jacobowitz writes: > > Well, I'd say that 20% off the size of struct symbol is pretty good. > > It makes the idea of unifying our symbol tables to have only one kind > > of symbol much more practical. > > Given that Michael C. says it only saves 0.6% when debugging GDB > itself, why do you say the size reductions are significant? Because what I am talking about would increase the size of partial symbols substantially, and this change would cut down on how big that increase is. But GDB isn't a good example for this anyway; relatively small symbol table, esp. if your C library has no debug info. Try it on a debugging build of Mozilla and I bet you're closer to 5% savings. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer