diff options
author | Pedro Alves <palves@redhat.com> | 2017-07-04 18:40:26 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-07-04 18:40:26 +0100 |
commit | 4da3eb35ef0545aac35dbd09070e5bf925f947d3 (patch) | |
tree | bcdb96eebcb1ca36578a88bc4cdc74d753048d1e /gdb/gdbtypes.c | |
parent | 40c7d50720e04c3d1ef1695a8097f735bafbe54f (diff) |
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.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index c9a9b3d9f8..a68692341e 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -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"); |