From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1693 invoked by alias); 16 Apr 2014 15:36:23 -0000 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 Received: (qmail 1631 invoked by uid 89); 16 Apr 2014 15:36:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 16 Apr 2014 15:36:21 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3AC71116118; Wed, 16 Apr 2014 11:36:19 -0400 (EDT) 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 5q5EnaP9--cQ; Wed, 16 Apr 2014 11:36:19 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 138F71160BB; Wed, 16 Apr 2014 11:36:19 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id CC0ECE041B; Wed, 16 Apr 2014 08:36:25 -0700 (PDT) Date: Wed, 16 Apr 2014 15:36:00 -0000 From: Joel Brobecker To: Siva Chandra Cc: gdb-patches Subject: Re: [PATCH] Remove unused and probably incorrect macro TYPE_FN_FIELDS Message-ID: <20140416153625.GV4250@adacore.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-04/txt/msg00316.txt.bz2 > 2014-04-16 Siva Chandra Reddy > > * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. I'm not aware of the history either, but it's really easy to put back should there be any reason to, so go ahead and push. Thanks! > diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h > index e91ab97..e63d255 100644 > --- a/gdb/gdbtypes.h > +++ b/gdb/gdbtypes.h > @@ -1205,7 +1205,6 @@ extern void allocate_gnat_aux_type (struct type *); > #define TYPE_VPTR_BASETYPE(thistype) TYPE_MAIN_TYPE(thistype)->vptr_basetype > #define TYPE_DOMAIN_TYPE(thistype) TYPE_MAIN_TYPE(thistype)->vptr_basetype > #define TYPE_VPTR_FIELDNO(thistype) TYPE_MAIN_TYPE(thistype)->vptr_fieldno > -#define TYPE_FN_FIELDS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->fn_fields > #define TYPE_NFN_FIELDS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields > #define TYPE_SPECIFIC_FIELD(thistype) \ > TYPE_MAIN_TYPE(thistype)->type_specific_field -- Joel