gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.

gdb/ChangeLog:

	* gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
This commit is contained in:
Doug Evans 2015-01-24 11:17:08 -08:00
parent 527f3840e1
commit 734ae1256d
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-01-24 Doug Evans <xdje42@gmail.com>
* gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
2015-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix 100x slowdown regression on DWZ files.

View File

@ -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