Re: [RFA] minsyms.c: Fix switching to GNU v3 ABI

Corinna Vinschen
2004-03-10T15:55:00Z

On Mar 10 10:08, Daniel Jacobowitz wrote:
> This is absolutely not what should happen.
>
> prim_record_minimal_symbol_and_info:
> SYMBOL_SET_NAMES (msymbol, (char *)name, strlen (name), objfile);

Oops. I didn't see that.

> symbol_set_names:
> -> symbol_find_demangled_name
> if (gsymbol->language == language_cplus
> || gsymbol->language == language_auto)
> {
> demangled =
> cplus_demangle (mangled, DMGL_PARAMS | DMGL_ANSI);
> if (demangled != NULL)
> {
> gsymbol->language = language_cplus;
> return demangled;
> }
> }
>
> Please figure out why symbol_find_demangled_name has failed. It sounds

It doesn't fail, at least not for the symbols which begin with "_Z".

> to me like you are having a problem with leading underscores, if I
> remember my sh-elf-foo correctly.

Could you tell more about that? I see a big bunch of symbols beginning
with "__Z". Is that what you mean?

Corinna

--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.