This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Search for symbol names the same way they're hashed.
On Wed, 2 Oct 2002 14:05:15 -0400, Daniel Jacobowitz <drow@mvista.com> said:
> Right now, there are multiple functions with the same symbol
> demangled name, but different mangled names.
Just out of curiosity, what are the current situations that you know
of where that can happen? I just noticed today that unnamed
namespaces in different files can demangle to the same name, which
sure doesn't thrill me; I'm curious about where else demangling is
losing important info.
Though I don't _really_ mind it all that much in the namespace
situation: as far as I'm concerned, it's just further evidence that
namespaces should be treated as first-class objects instead of being
hacked at via names of symbols. Still, I wouldn't mind if the
approach via names of symbols worked a _bit_ better than it actually
will...
David Carlton
carlton@math.stanford.edu