public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED PATCH] Delete TYPE_TYPE_SPECIFIC
@ 2015-01-25  1:12 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2015-01-25  1:12 UTC (permalink / raw)
  To: gdb-patches

Hi.

This macro is unused.

2015-01-24  Doug Evans  <xdje42@gmail.com>

	* gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.

diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index ba5c857..3cf09c5 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1237,7 +1237,6 @@ extern void allocate_gnat_aux_type (struct type *);
 #define TYPE_NFN_FIELDS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields
 #define TYPE_SPECIFIC_FIELD(thistype) \
   TYPE_MAIN_TYPE(thistype)->type_specific_field
-#define	TYPE_TYPE_SPECIFIC(thistype) TYPE_MAIN_TYPE(thistype)->type_specific
 /* We need this tap-dance with the TYPE_RAW_SPECIFIC because of the case
    where we're trying to print an Ada array using the C language.
    In that case, there is no "cplus_stuff", but the C language assumes

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-24 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-25  1:12 [COMMITTED PATCH] Delete TYPE_TYPE_SPECIFIC Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).