Re: break jmisc.main

David Carlton
2003-03-13T20:54:22Z

On 13 Mar 2003 12:39:03 -0800, David Carlton <carlton@math.stanford.edu> said:

> So my guess is that, somewhere, a demangler is getting
> called in a situation where the symbol isn't yet identified as a
> Java symbol, so the C++ demangler gets used. Do the minsym readers
> reliably know the language of the minsyms they're creating? If
> not, then we could be getting the bad value there and caching it
> with the new demangling code, so the bad value remains when the
> symbol table is setting the symbol's name.

To be specific, in prim_record_minimal_symbol_and_info, we see:

SYMBOL_LANGUAGE (msymbol) = language_auto;
SYMBOL_SET_NAMES (msymbol, (char *)name, strlen (name), objfile);

Oops.

David Carlton
carlton@math.stanford.edu