Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-21 13:39:35


From: "Neal D. Becker" <nbecker_at_[hidden]>

> Here is a traceback with demangling that does not depend on libcwd:
> It uses libiberty and should work on gnu systems. Here's what it
> does:
>
> g++3 -g -o Hello Hello.cc -rdynamic -liberty -lbfd
>
> ./Hello
> ./Hello(_Z11print_tracei+0x18) [0x80499f8] _Z11print_tracei
> print_trace(int)
> ./Hello(_Z14dummy_functionv+0x10) [0x8049cb8] _Z14dummy_functionv
> dummy_function()
> ./Hello(main+0x15) [0x8049cd3] main

Cool! But what about MINGW?
Oh, MINGW seems to have it also!
So, can I use demangle.h to decode type_info::name strings?

ever-the-troublemaker-ly y'rs,
Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk