[COMMITTED] Delete TYPE_TYPE_SPECIFIC

Message ID m3oapo9e3v.fsf@sspiff.org
State Committed
Headers

Commit Message

Doug Evans Jan. 24, 2015, 7:24 p.m. UTC
  Hi.

This macro is unused.

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

	* gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
  

Patch

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