From: Tom Tromey Date: Fri, 6 Sep 2024 16:52:54 +0000 (-0600) Subject: Ignore DW_TAG_padding in tag_is_type X-Git-Tag: gdb-16-branchpoint~942 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86d6495bd44a5f228a65b84d1630fc318d3732ef;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/gdb/dwarf2/tag.h b/gdb/dwarf2/tag.h index 2ceae5393b5..d82690b806a 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: