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.
This commit is contained in:
Martin Galvan 2015-05-13 14:09:19 -07:00 committed by Doug Evans
parent 93b2e21d4a
commit 08a76f8ab8
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-05-13 Martin Galvan <martin.galvan@tallertechnologies.com>
* dwarf2read.c (die_needs_namespace): Return 1 for
DW_TAG_inlined_subroutine.
2015-05-13 Jan Kratochvil <jan.kratochvil@redhat.com> 2015-05-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* regcache.c (regcache_cpy_no_passthrough): New declaration. * regcache.c (regcache_cpy_no_passthrough): New declaration.

View File

@ -8363,6 +8363,7 @@ die_needs_namespace (struct die_info *die, struct dwarf2_cu *cu)
case DW_TAG_enumeration_type: case DW_TAG_enumeration_type:
case DW_TAG_enumerator: case DW_TAG_enumerator:
case DW_TAG_subprogram: case DW_TAG_subprogram:
case DW_TAG_inlined_subroutine:
case DW_TAG_member: case DW_TAG_member:
case DW_TAG_imported_declaration: case DW_TAG_imported_declaration:
return 1; return 1;