{
if (gsymbol->language == language_cplus)
{
- gdb_assert (gsymbol->language_specific.cplus_specific != NULL);
- return gsymbol->language_specific.cplus_specific->demangled_name;
+ if (gsymbol->language_specific.cplus_specific != NULL)
+ return gsymbol->language_specific.cplus_specific->demangled_name;
+ else
+ return NULL;
}
else
return gsymbol->language_specific.mangled_lang.demangled_name;