Mail Archives: djgpp/1998/01/29/10:10:23
In article <6appup$pop AT freenet-news DOT carleton DOT ca> you wrote:
[...]
> Note that if you use C++, the names may be mangled, so your "foo" function
> might show up as something like:
> foo__Fv (means foo(void) crashed)
> foo__Fii (means foo(int, int) crashed)
> foo__FPi (means foo(int *) crashed)
> foo__FcPc (means foo(char, char *) crashed)
> The mangling scheme seems to be two underscores, 'F' on a function,
[... complicated try at de-mangling these manually del'ed]
Why so complicated? Just save the symify output to a file (symify -o
outfile does that, IIRC), and then run 'cxxfilt' on that. 'cxxfilt' is
part of the binutils distribution and it is meant exactly for this
purpose: de-mangle the text output from binary utilities (like our
'symify') that don't know how to do this themselves.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -