-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I was wondering if I should be able to rely on the result of the __builtin_frame_address() and __builtin_return_address() functions provided by GCC (ver 3.3.3) under NetBSD i386? I currently have some code that is trying to use these functions for doing a stack backtrace in C++. I have a common base class called Throwable that will gather stack information when constructed so we can display more useful exception information when a serious problem occurs. Note the problem occurs sometimes when just creating an instance of the object regardless of whether it is about to be thrown (In case there was some sort of different if being used in a throw statement) Sometimes calling the __builtin_frame_address() function causes a seg fault. The code I am using to perform this backtrace comes from the a small package that can be downloaded from: http://www.freebsd.org/cgi/pds.cgi?ports/devel/libexecinfo Thanks for any info, Brendon Costa. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEuxnHPfREiUgoLqwRAn+RAKDbbLrmSTWB+qyiDTIbuJMZNvyiTQCfQV8f uUaHTf8WZvnxCmL8eNCRvUI= =FV3a -----END PGP SIGNATURE-----