NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Stack trace from C program



On Tue, 25 May 2010 12:14:51 +0000
Wouter Klouwen <dublet%acm.org@localhost> wrote:

> Basically, no and yes. It is very compiler, libc and machine
> architecture dependent. 
> The LJ article has a brief discussion on why exactly it's an
> extremely non portable thing to do.
> 
>       --Wouter

OK, thanks for the link. I think I'll go with #ifdef in my code and
call backtrace functions on platforms that support it, i.e. Linux or
Solaris.


Home | Main Index | Thread Index | Old Index