Boost logo

Boost :

Subject: Re: [boost] [Backtrace] Any interest in portable stack trace?
From: nimaca2001_at_[hidden]
Date: 2010-10-21 02:33:25


> Linux, Solaris and Mac OS X have functions backtrace and backtrace_symbols
> in libc: See: http://linux.die.net/man/3/backtrace
>
> Windows starting from XP has RtlCaptureBackTrace in kernel32.dll:
> See http://msdn.microsoft.com/en-us/library/ff552119(VS.85).aspx
>
> So the rest is translate symbols, under Unixes I have dladdr and under
Windows
> dbghelp.

How difficult would be a separate translation made with the map file instead
of PDB file?
(My main goal is to get the backtrace with raw addressed and traslate them 'at
home' without
spreading around rarely used stuff)

 Marco


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