From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15258 invoked by alias); 28 Aug 2002 14:42:02 -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 15206 invoked from network); 28 Aug 2002 14:42:01 -0000 Received: from unknown (HELO kerberos.suse.cz) (195.47.106.10) by sources.redhat.com with SMTP; 28 Aug 2002 14:42:01 -0000 Received: from chimera.suse.cz (chimera.suse.cz [10.20.0.2]) by kerberos.suse.cz (SuSE SMTP server) with ESMTP id 31EE559D33F; Wed, 28 Aug 2002 16:42:01 +0200 (CEST) Received: from suse.cz (naga.suse.cz [10.20.1.16]) by chimera.suse.cz (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g7SEg0g22750; Wed, 28 Aug 2002 16:42:00 +0200 X-Authentication-Warning: chimera.suse.cz: Host naga.suse.cz [10.20.1.16] claimed to be suse.cz Message-ID: <3D6CE138.50801@suse.cz> Date: Wed, 28 Aug 2002 07:48:00 -0000 From: Michal Ludvig Organization: SuSE CR User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: cs, cz, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] New bitflags type and eflags on i386/x86-64 References: <3CC42DA0.9070906@suse.cz> <3D6BF1D5.70409@ges.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00935.txt.bz2 Andrew Cagney wrote: > Attatched is an old and related patch I've dug out of an old branch of > GDB that Red Hat was providing for a customer. The mine one is more generic I think, and while it adds new TYPE_CODE it can be used for other purposes as well (IIRC recently someone committed a patch that depended on this type code but had to revert it). I'm afraid people don't know how to use the complex, nested TYPE_CODE_SET, while the usage of TYPE_CODE_FLAGS is pretty simple. If would change it so that it isn't c-specific, but rather language independent, would you consider approval? Other things (eg. length of the flagword) aren't IMHO that important for now. Michal Ludvig -- * SuSE CR, s.r.o * mludvig@suse.cz * +420 2 9654 5373 * http://www.suse.cz