diff options
author | Tom Tromey <tromey@adacore.com> | 2024-09-06 10:52:54 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-09-09 11:32:40 -0600 |
commit | 86d6495bd44a5f228a65b84d1630fc318d3732ef (patch) | |
tree | d39a611d72e0b9b121555dc6ade00e1cf56b0bc5 | |
parent | 1afe02759f1569fb647b691d308c95efc2116b23 (diff) | |
download | gdb-86d6495bd44a5f228a65b84d1630fc318d3732ef.zip gdb-86d6495bd44a5f228a65b84d1630fc318d3732ef.tar.gz gdb-86d6495bd44a5f228a65b84d1630fc318d3732ef.tar.bz2 |
Ignore DW_TAG_padding in tag_is_type
DW_TAG_padding isn't a real tag -- it doesn't appear in the DWARF
standard, only in include/dwarf2.def as a placeholder. So, remove it
from dwarf2/tag.h:tag_is_type.
Reviewed-By: Tom de Vries <tdevries@suse.de>
-rw-r--r-- | gdb/dwarf2/tag.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/dwarf2/tag.h b/gdb/dwarf2/tag.h index 2ceae53..d82690b 100644 --- a/gdb/dwarf2/tag.h +++ b/gdb/dwarf2/tag.h @@ -30,7 +30,6 @@ tag_is_type (dwarf_tag tag) { switch (tag) { - case DW_TAG_padding: case DW_TAG_array_type: case DW_TAG_class_type: case DW_TAG_enumeration_type: |