[RFA] Select a particular mangling of a demangled symbol in lookup_block_symbol
Elena Zannoni
ezannoni@redhat.com
Fri Mar 22 12:11:00 GMT 2002
Daniel Jacobowitz writes:
> 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)
>
Ah, I didn't think twice when I saw it not core dumping!
> Those aren't the same function at all :)
>
Indeed. Then I think we definitely should use the uppercase parameter.
Elena
> --
> Daniel Jacobowitz Carnegie Mellon University
> MontaVista Software Debian GNU/Linux Developer
More information about the Gdb-patches
mailing list