This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Need help with SLES8 c++filt
On Fri, Feb 03, 2006 at 02:07:34PM +0000, Nick Clifton wrote:
> Hi Jon,
>
> >>c++filt -_ raise
> >
> >signed char restrict
> >
> >If you pass the '-s gnu' or '-s gnu-v3' flags it will properly return
> >'raise' but then demangling of truly mangled names no longer works. So, I
> >need to find out which versions return the wrong values for 'raise' and
> >what version the problem was fixed in. It seems the fix might have been
> >Ian's changes to cp-demangle.c and cplus-dem.c on 2004-01-12, but I don't
> >know for sure.
>
> The easiest way to check this is to check out the binutils sources from
> that day (or maybe the day after) and see if the bug is fixed. If it
> is, check out the sources from the day before and if the bug is present
> then you know that you have found your fix.
I was hoping someone would remember.. Oh well. It turns out that
cvs diff -D"2003-12-01 23:54Z" -D"2003-12-01 23:56Z"
gives the fix for the problem with "raise". This was the ChangeLog
entry:
2003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
* cp-demangle.c (d_demangle): Only return success if we consumed
the entire demangled string.
(is_ctor_or_dtor): Likewise.
* testsuite/demangle-expected: Revert one part of 2003-06-26 patch
to restore expected result of EDG test case to original expected
result.
--
Alan Modra
IBM OzLabs - Linux Technology Centre