------- Comment #8 from swagiaal at redhat dot com 2008-12-01 16:12 ------- > DW_AT_MIPS_linkage_name should be removed from GCC only after the DW_AT_name > scoping/qualification will get fully fixed. GDB currently already contains > the > DW_AT_MIPS_linkage_name reader and there is probably no need to disable it > (except for testing purposes). >
Agreed. My patch fixes test cases where DW_AT_MIPS_linkage_name was not generated by gcc, but the patch should be smarter about falling back on DW_AT_MIPS_linkage_name when the correct canonical name cannot be constructed. > On GDB CVS HEAD for gdb.cp/m-static.exp a command `print gnu_obj_4::elsewhere' > works for me as it can find (presumably) the corrent .symtab mangled symbol. > > Sure it would be good to get DW_AT_name fixed in GCC. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37982