From: Siva Chandra <sivachandra@google.com>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: [PATCH] Remove unused and probably incorrect macro TYPE_FN_FIELDS
Date: Wed, 16 Apr 2014 12:11:00 -0000 [thread overview]
Message-ID: <CAGyQ6gwQ8shtKNL_0d4C9rd-_hBjVfSGg7t5zFCDCuYSiT=U-g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
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.
[-- Attachment #2: remove_type_fn_fields.txt --]
[-- Type: text/plain, Size: 663 bytes --]
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
next reply other threads:[~2014-04-16 12:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 12:11 Siva Chandra [this message]
2014-04-16 15:36 ` Joel Brobecker
2014-04-16 22:45 ` Siva Chandra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGyQ6gwQ8shtKNL_0d4C9rd-_hBjVfSGg7t5zFCDCuYSiT=U-g@mail.gmail.com' \
--to=sivachandra@google.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox