dwarf2read.c (die_needs_namespace): Return 1 for DW_TAG_inlined_subroutine.
authorMartin Galvan <martin.galvan@tallertechnologies.com>
Wed, 13 May 2015 21:09:19 +0000 (14:09 -0700)
committerDoug Evans <dje@google.com>
Wed, 13 May 2015 21:09:19 +0000 (14:09 -0700)
gdb/ChangeLog:

* dwarf2read.c (die_needs_namespace): Return 1 for
DW_TAG_inlined_subroutine.

gdb/ChangeLog
gdb/dwarf2read.c

index 6cb033bc4f7cf7cc6beeaa3a5561868ff4673d9e..b645eba95f4762c19db3c64fad78b22a3836493e 100644 (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>
 
        * regcache.c (regcache_cpy_no_passthrough): New declaration.
index 9a2113eeb9c6d8eb0934b7a688b556201c84aef3..4d892d81f756503be9c37f65b97608d0134cf7f0 100644 (file)
@@ -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;