aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-05-13 13:55:09 -0700
committerDoug Evans <dje@google.com>2015-05-13 13:55:09 -0700
commitda0580a62bff4cdfa53ef6b491f5158cc7a5744a (patch)
tree2d5c3060ed1e622fa5c58946dd9261207e348532 /gdb
parentbd49952bd7fbe616e2cb488e8080502f2338aaa2 (diff)
downloadgdb-da0580a62bff4cdfa53ef6b491f5158cc7a5744a.zip
gdb-da0580a62bff4cdfa53ef6b491f5158cc7a5744a.tar.gz
gdb-da0580a62bff4cdfa53ef6b491f5158cc7a5744a.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2read.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6cb033b..b645eba 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 9a2113e..4d892d8 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;