]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Ignore DW_TAG_padding in tag_is_type
authorTom Tromey <tromey@adacore.com>
Fri, 6 Sep 2024 16:52:54 +0000 (10:52 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 9 Sep 2024 17:32:40 +0000 (11:32 -0600)
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>
gdb/dwarf2/tag.h

index 2ceae5393b5fee321ac35ffb3cab201fc8ae60b2..d82690b806ac7fa86be9659c085610d073b37c6a 100644 (file)
@@ -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: