[binutils-gdb] Don't consider DW_TAG_inlined_subroutine as interesting

Tom Tromey via Gdb-cvs <[email protected]>
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8a53bc61fd1c62f1f89a221db02cdd04af9f520d

commit 8a53bc61fd1c62f1f89a221db02cdd04af9f520d
Author: Tom Tromey <[email protected]>
Date:   Sun Mar 30 13:52:57 2025 -0600

    Don't consider DW_TAG_inlined_subroutine as interesting
    
    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.
    
    Acked-By: Tom de Vries <[email protected]>
    Approved-By: Simon Marchi <[email protected]>

Diff:
---
 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:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.