[RFA] Select a particular mangling of a demangled symbol in lookup_block_symbol

Daniel Jacobowitz drow@mvista.com
Fri Mar 22 10:55:00 GMT 2002


On Tue, Mar 19, 2002 at 05:46:58PM -0500, Elena Zannoni wrote:
> Replying to myself. I was testing with dwarf2, but using stabs I can
> see it.  I can also see that we call cplus_demangle (__3foor3foo, ...)
> instead of cplus_demangle (__3fooR3foo, ...), if 'set case off'. But
> it returns foo::foo(long double, foo) anyway. So it works?

Absolutely not:

drow@nevyn:~% c++filt
__3fooR3foo
foo::foo(foo &)
__3foor3foo
foo::foo(long double, foo)

Those aren't the same function at all :)

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list