This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Demangling broken (was: Re: [PATCH] Demangler woes with current CVS and type names)


On Thu, Jan 31, 2002 at 06:22:31PM -0500, Daniel Jacobowitz wrote:
> > > Either way seems a partial solution, solving the "data" ->
> > > "double" error, but not to the "d" -> "double" error.
> > 
> > Ah, I see the problem more clearly now; thanks.  Yes, it looks like an option
> > is needed.  I'll look into some kind of "no type demangling" flag somewhere.
> 
> Please go the other way.  This is an incompatible interface change -
> and you've seen the violence you did to GDB and LD testsuites with this
> patch by now, right?

That's what this whole conversation has been about... have you read
the thread?

If by "the other way" you mean checking for leftover characters in the
mangled string, it won't work; see H-P's mail.  An identifier called 'i'
would be incorrectly demangled as 'int' but no characters are left over.


Sigh.  I'll revert the patch when I have time to patch and test, about an
hour or so from now.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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