[PATCH] Ignore DW_TAG_padding in tag_is_type
Tom Tromey
tromey@adacore.com
Fri Sep 6 16:54:02 GMT 2024
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.
---
gdb/dwarf2/tag.h | 1 -
1 file changed, 1 deletion(-)
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:
--
2.45.0
More information about the Gdb-patches
mailing list