[PATCH v4 3/8] Don't consider DW_TAG_inlined_subroutine as interesting

Tom Tromey
2026-02-24T01:18:04Z

tag_interesting_for_index returns true for DW_TAG_inlined_subroutine
-- but this tag only appears where the function is actually inlined,
which is not interesting for the index.
---
gdb/dwarf2/abbrev.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/gdb/dwarf2/abbrev.c b/gdb/dwarf2/abbrev.c
index 49564db275b..44d5c87a5f7 100644
--- a/gdb/dwarf2/abbrev.c
+++ b/gdb/dwarf2/abbrev.c
@@ -46,7 +46,6 @@ tag_interesting_for_index (dwarf_tag tag)
case DW_TAG_enumerator:
case DW_TAG_imported_declaration:
case DW_TAG_imported_unit:
- case DW_TAG_inlined_subroutine:
case DW_TAG_interface_type:
case DW_TAG_module:
case DW_TAG_namespace:

--
2.49.0