This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Search for symbol names the same way they're hashed.


On Mon, Oct 07, 2002 at 04:19:10PM -0700, David Carlton wrote:
> 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

Well, that comment was about constructors:
_ZN1AC1Eb
A::A[in-charge](bool)
_ZN1AC2Eb
A::A[not-in-charge](bool)

We strip off the [in-charge] bit because we don't have any use for it.

> 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.

We can't even use the demangled names of such things, anyway.  We'll
need to figure out what to do with them eventually...

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]