From: Martin Galvan Date: Wed, 13 May 2015 21:09:19 +0000 (-0700) Subject: dwarf2read.c (die_needs_namespace): Return 1 for DW_TAG_inlined_subroutine. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08a76f8ab86efbd5c85c9bd3979c4c06b9e84258;p=binutils-gdb.git dwarf2read.c (die_needs_namespace): Return 1 for DW_TAG_inlined_subroutine. gdb/ChangeLog: * dwarf2read.c (die_needs_namespace): Return 1 for DW_TAG_inlined_subroutine. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6cb033bc4f7..b645eba95f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-05-13 Martin Galvan + + * dwarf2read.c (die_needs_namespace): Return 1 for + DW_TAG_inlined_subroutine. + 2015-05-13 Jan Kratochvil * regcache.c (regcache_cpy_no_passthrough): New declaration. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 9a2113eeb9c..4d892d81f75 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -8363,6 +8363,7 @@ die_needs_namespace (struct die_info *die, struct dwarf2_cu *cu) case DW_TAG_enumeration_type: case DW_TAG_enumerator: case DW_TAG_subprogram: + case DW_TAG_inlined_subroutine: case DW_TAG_member: case DW_TAG_imported_declaration: return 1;