This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] stabs assertion failure symbol_get_demangled_name



...there other case, and for
those I changed the assertion into an if statement that returns null
since symbol_natural_name depends on symbol_get_demangled_name to return
null in order to fall back to gsymbol->name.


I looked into this some more. At least of of the other cases occurs when, during symbol construction, the stabs reader uses SYMBOL_SET_LINKAGE_NAME bypassing symbol_set_names.


by removing the assertion eventually the name that was set through SYMBOL_SET_LINKAGE_NAME (gsymbol->name) will be returned.

The other option is to eliminate the use of SYMBOL_SET_LINKAGE_NAME.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]