* dwarf2read.c (dwarf2_linkage_name): New function to get
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 8 Feb 1997 09:16:26 +0000 (09:16 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 8 Feb 1997 09:16:26 +0000 (09:16 +0000)
commite7e98487ba4d9f93ff8043b49a49bdc2c542f1a6
treea4544b192f92a18df5599abdabd211c6172ef211
parentdfe637973149e8ae56aaa5e57f780ec1f6848b21
* dwarf2read.c (dwarf2_linkage_name):  New function to get
the linkage name of a die from DW_AT_MIPS_linkage_name or
DW_AT_name.
(read_func_scope, dwarf2_add_field, dwarf2_add_member_fn,
new_symbol):  Use it instead of accessing DW_AT_name.
(read_partial_die):  Use DW_AT_MIPS_linkage name as name of the
partial die if present.
(dwarf2_add_member_fn):  Make a copy of physname on the type obstack.
gdb/ChangeLog
gdb/dwarf2read.c