Re: [GD-Linux] signals and exceptions
Brought to you by:
vexxed72
From: Steve B. <sjb...@ai...> - 2001-11-16 00:41:05
|
"D. Stimits" wrote: > Would it be possible to see what is in the backtrace() and > backtrace_symbols() functions? They appear to be standard (but undocumented) glibc functions. I just compiled that code snippet as-is and called it from somewhere deeply nested in my code - and it dumped out the filename, function name and ugly hex offset into the function for the most recent 32 functions on the stack! It's *magic* :-) ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |