Message ID | CAGyQ6gwQ8shtKNL_0d4C9rd-_hBjVfSGg7t5zFCDCuYSiT=U-g@mail.gmail.com |
---|---|
State | Committed |
Headers |
Return-Path: <x14314964@homiemail-mx20.g.dreamhost.com> X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx20.g.dreamhost.com (mx2.sub5.homie.mail.dreamhost.com [208.113.200.128]) by wilcox.dreamhost.com (Postfix) with ESMTP id D20A9360068 for <siddhesh@wilcox.dreamhost.com>; Wed, 16 Apr 2014 05:11:07 -0700 (PDT) Received: by homiemail-mx20.g.dreamhost.com (Postfix, from userid 14314964) id 6E7EE410D1F60; Wed, 16 Apr 2014 05:11:07 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx20.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx20.g.dreamhost.com (Postfix) with ESMTPS id 3E6C3410D4278 for <gdb@patchwork.siddhesh.in>; Wed, 16 Apr 2014 05:11:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=UEJDm0ibe8+DBzLwFSKRuXXgw8l7T z+MoG60pumogGW4vJTnZwZltw4gqdwEAc4gXIVGR9xrdv8/FE1s5oNGquuvS6bCy z9W622GkE8WuXENuGOZur3hQE5RWmeI6NWN8HN2yX6GlahPHaJwT8a6D+CUR9rGa WcwHSWk0E8mwWo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=h+gTHUtUAVjGOkZja4npobCqhZU=; b=lBc 9YK042s35D8rHXq9TbhGL+esQwKsd02fB+ftnWUryi3DfCNXLFW6RnEbmqzqU1Fp 3CH0LrGvXsB8yLrdkdSoBi4aDDC5yrCTqxAULMI1OFQLG+w4bfPX63ePD58qb1Vh jU0dr4SFl5e2wUgVrKOuFN0pWGg+2y9s1C8g0Kog= Received: (qmail 29518 invoked by alias); 16 Apr 2014 12:11:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-patches.sourceware.org> List-Unsubscribe: <mailto:gdb-patches-unsubscribe-gdb=patchwork.siddhesh.in@sourceware.org> List-Subscribe: <mailto:gdb-patches-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 29503 invoked by uid 89); 16 Apr 2014 12:11:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f177.google.com Received: from mail-we0-f177.google.com (HELO mail-we0-f177.google.com) (74.125.82.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 16 Apr 2014 12:11:03 +0000 Received: by mail-we0-f177.google.com with SMTP id u57so10370849wes.8 for <gdb-patches@sourceware.org>; Wed, 16 Apr 2014 05:11:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=DB4hzmGPjnazNYHmxWn+naPAWIIiHjrqagDbzZHaFKU=; b=bOSnlMKaZHoKqSzTAzD3xEGWCrZIY0ZD5mYosss9A/2lmLJzGIeBh0njGfesXS7qA+ 0KqHIFQMhkZxHc4ANaKUgFgxKqm2kSX+oyhRNRVwzlihfyUSeZB79fSDlBo/pmW/yA9U 0oCF/BwtT3Bn9QJ4BKUuUHFYTk0aJ7MaZmcXVpUmrwFcVv9l7kHuSdUJWy4z7KxjmO0e d+rheuwuAx1WJjMnoHypq8uAe10bmD5upddIRnThl937SaP3wmDKZ8ooaBUBnnZu/2if jl1LM9J2/JfQrNRduhc4ineyOzaDEEaTGdPT3hL7JIDwWeC3oyGHIe3J2Pw+mEjv2sdy DVgA== X-Gm-Message-State: ALoCoQkZZeeoKWwhsVU8sY39tupNu1JI7qhIjPjWUVMNp8gXB1dhZdDknmszsrw1aUP+6N19xBQrlo0KFFO/vLUwQ4CUt/Vjc0YRt094GdeAOr8qr6GI4hf/8cE+ES2g+8hnyBnAVWoAtTguPTvxYCUg4CyxBTufgEqUbRBxTkTs4PuYjfy46yb1PpJaJ/jDu4OuuJgA0yVtE7DmhEps5r7TzMwRfT83Lg== MIME-Version: 1.0 X-Received: by 10.194.9.8 with SMTP id v8mr6574763wja.53.1397650260122; Wed, 16 Apr 2014 05:11:00 -0700 (PDT) Received: by 10.217.51.7 with HTTP; Wed, 16 Apr 2014 05:10:59 -0700 (PDT) Date: Wed, 16 Apr 2014 05:10:59 -0700 Message-ID: <CAGyQ6gwQ8shtKNL_0d4C9rd-_hBjVfSGg7t5zFCDCuYSiT=U-g@mail.gmail.com> Subject: [PATCH] Remove unused and probably incorrect macro TYPE_FN_FIELDS From: Siva Chandra <sivachandra@google.com> To: gdb-patches <gdb-patches@sourceware.org> Content-Type: multipart/mixed; boundary=047d7b5d89654697fe04f727cfdf X-IsSubscribed: yes X-DH-Original-To: gdb@patchwork.siddhesh.in |
Commit Message
Siva Chandra Reddy
April 16, 2014, 12:10 p.m. UTC
Probably an obvious commit, but I might not be aware of any historical decision around this. Patch is attached. Tested by building on x86_64 GNU/Linux. 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
Comments
> 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> > > * 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
On Wed, Apr 16, 2014 at 8:36 AM, Joel Brobecker <brobecker@adacore.com> wrote: >> 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> >> >> * 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. Done, but with two pushes as I missed adding the ChangeLog entry in the first push: 8000c58e455259951daa4370631aa616b367d1a7 and 7a23c5494be60600d34527f5adeaa2a34b85fdb6
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