aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorMillan Wolff <mail@milianw.de>2018-10-03 12:06:09 +0100
committerNick Clifton <nickc@redhat.com>2018-10-03 12:06:09 +0100
commitc8d3f93237d77f76d14e09e44bc770ce9428b0e4 (patch)
treea1adce040154b97d30b58b10692dbb054acc8c91 /bfd/dwarf2.c
parent527b9e87ac1915aec4c26f96951c3b49a145bc88 (diff)
downloadgdb-c8d3f93237d77f76d14e09e44bc770ce9428b0e4.zip
gdb-c8d3f93237d77f76d14e09e44bc770ce9428b0e4.tar.gz
gdb-c8d3f93237d77f76d14e09e44bc770ce9428b0e4.tar.bz2
Fix the handling of inlined frames in DWARF debug info.
PR 23715 * dwarf2.c (find_abstract_instance): Allow recursive invocations of find_abstract_instance to override the name variable.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 77a7368..3a786fb 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2962,7 +2962,7 @@ find_abstract_instance (struct comp_unit * unit,
break;
case DW_AT_specification:
if (!find_abstract_instance (unit, info_ptr, &attr,
- pname, is_linkage,
+ &name, is_linkage,
filename_ptr, linenumber_ptr))
return FALSE;
break;