gdb bugs showing while working on libcwd

Daniel Jacobowitz drow@mvista.com
Tue May 28 10:37:00 GMT 2002


On Tue, May 28, 2002 at 02:50:20PM +0200, Carlo Wood wrote:
> On Tue, May 28, 2002 at 04:16:56AM -0400, Daniel Jacobowitz wrote:
> > By the way, if that includes a v3 demangler - there are three failures
> > in the demangler testsuite on v3 for functions taking function pointers
> > that I can't wrap my head around... :)
> 
> Would replacing __cxa_demangle in libiberty with a demangler
> that does v3 demangling (and only v3 demangling) do the job?
> I am not familiar with this libiberty interface that seems
> to support a dozen different mangling styles.

The v3 code is completely separate; it's off in cp-demangle.c rather
than cplus-dem.c (or reversed).  The original demangler just calls the
v3 demangler when necessary, so it doesn't come in to this at all.

I was just hoping someone more familiar than I with the mangling scheme
could look at the existing one and figure out where the shortcoming
is...

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



More information about the Gdb mailing list