This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: break jmisc.main
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb <gdb at sources dot redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, Michael Elizabeth Chastain <mec at shout dot net>
- Date: 13 Mar 2003 12:54:21 -0800
- Subject: Re: break jmisc.main
- References: <ro1el5bknmg.fsf@jackfruit.Stanford.EDU>
On 13 Mar 2003 12:39:03 -0800, David Carlton <carlton at math dot stanford dot 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 at math dot stanford dot edu