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] Select a particular mangling of a demangled symbol in lookup_block_symbol


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


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