From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9047 invoked by alias); 18 Aug 2003 22:07:21 -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 9033 invoked from network); 18 Aug 2003 22:07:21 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 18 Aug 2003 22:07:21 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.9/8.12.9) with ESMTP id h7IM7Io5019876; Mon, 18 Aug 2003 17:07:18 -0500 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.9/8.12.9) with ESMTP id h7IM7IHK007749; Mon, 18 Aug 2003 17:07:18 -0500 Received: (from mec@localhost) by duracef.shout.net (8.12.9/8.12.9/Submit) id h7IM7IBM007748; Mon, 18 Aug 2003 18:07:18 -0400 Date: Mon, 18 Aug 2003 22:07:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200308182207.h7IM7IBM007748@duracef.shout.net> To: carlton@kealia.com, msnyder@redhat.com Subject: Re: [rfa] save space by using enum bitfields Cc: ac131313@redhat.com, ezannoni@redhat.com, gdb-patches@sources.redhat.com, jimb@redhat.com X-SW-Source: 2003-08/txt/msg00315.txt.bz2 There are a variety of semi-ugly ways to write this. Andrew C mentioned that he wanted to re-use the same way that gcc uses. I like that. Also I would prefer to keep the ": 8" in the structure definition rather than stick it into the macro. Some of these enum's need even less space than 8 bits and we might get into some better packing that way. As far as the size goes, I will try my test case with "-readnow" to suck in all the symbols from the target executable and its shared libraries (gdb + libc). With the old gdb, this takes 117280 kilobytes, most of which has to be symbol table related. Michael C