From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12828 invoked by alias); 21 Dec 2009 17:37:58 -0000 Received: (qmail 12820 invoked by uid 22791); 21 Dec 2009 17:37:57 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Dec 2009 17:37:53 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id E00932BAB7E; Mon, 21 Dec 2009 12:37:51 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GmKc74u6vRZs; Mon, 21 Dec 2009 12:37:51 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 182902BAB73; Mon, 21 Dec 2009 12:37:51 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id E54E8F5937; Mon, 21 Dec 2009 18:37:28 +0100 (CET) Date: Mon, 21 Dec 2009 17:37:00 -0000 From: Joel Brobecker To: Vladimir Prus Cc: Daniel Jacobowitz , Tom Tromey , gdb-patches@sources.redhat.com Subject: Re: RFA: unbreak typedefed bitfield Message-ID: <20091221173728.GP2788@adacore.com> References: <200912181541.30891.vladimir@codesourcery.com> <20091221171500.GA16198@caradoc.them.org> <200912212018.33780.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200912212018.33780.vladimir@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2009-12/txt/msg00311.txt.bz2 > IMO, this usage should just go, in preference to > > type_set_length (type, DW_UNSND (attr)); I tend to agree, but maybe for a different reason. I think we should eventually try to make struct type and main_type opaque, which will force to get rid of the macros and provide accessors instead. -- Joel