Garbage collect TYPE_STATIC and several TYPE_FN_FIELD_x

Nothing uses these.  Most of the TYPE_FN_FIELD_ ones were probably
used by the gcj support.

gdb/ChangeLog:
2017-07-04  Pedro Alves  <palves@redhat.com>

	* gdbtypes.c (recursive_dump_type): Don't reference TYPE_STATIC.
	* gdbtypes.h (TYPE_STATIC): Delete.
	(struct fn_field) <is_public, is_abstract, is_static, is_final,
	is_synchronized, is_native>: Delete.
	<dummy>: Bump.
	(TYPE_FN_FIELD_PUBLIC, TYPE_FN_FIELD_STATIC, TYPE_FN_FIELD_FINAL)
	(TYPE_FN_FIELD_SYNCHRONIZED, TYPE_FN_FIELD_NATIVE)
	(TYPE_FN_FIELD_ABSTRACT): Delete.
This commit is contained in:
Pedro Alves
2017-07-04 18:40:26 +01:00
parent 40c7d50720
commit 4da3eb35ef
3 changed files with 12 additions and 24 deletions

View File

@@ -4444,10 +4444,6 @@ recursive_dump_type (struct type *type, int spaces)
{
puts_filtered (" TYPE_TARGET_STUB");
}
if (TYPE_STATIC (type))
{
puts_filtered (" TYPE_STATIC");
}
if (TYPE_PROTOTYPED (type))
{
puts_filtered (" TYPE_PROTOTYPED");