From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4989 invoked by alias); 21 Dec 2009 17:15:13 -0000 Received: (qmail 4933 invoked by uid 22791); 21 Dec 2009 17:15:12 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Dec 2009 17:15:04 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A7B2910A5E; Mon, 21 Dec 2009 17:15:02 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 4FF5E10548; Mon, 21 Dec 2009 17:15:02 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NMlqW-0004IH-DD; Mon, 21 Dec 2009 12:15:00 -0500 Date: Mon, 21 Dec 2009 17:15:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: RFA: unbreak typedefed bitfield Message-ID: <20091221171500.GA16198@caradoc.them.org> Mail-Followup-To: Tom Tromey , Vladimir Prus , gdb-patches@sources.redhat.com References: <200912181541.30891.vladimir@codesourcery.com> <20091218130612.GD2788@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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/msg00309.txt.bz2 On Mon, Dec 21, 2009 at 10:08:38AM -0700, Tom Tromey wrote: > You could try: > > #define TYPE_LENGTH(thistype) check_typedef (thistype)->length > > While this is probably insufficient to fix the check_typedef problem in > general, it may help with the most common source of problems. TYPE_LENGTH (type) = DW_UNSND (attr); That's likely to cause some trouble. -- Daniel Jacobowitz CodeSourcery