__builtin_frame_address with non-zero arguments is not supported on most targets these days. It'll work on x86-64 if you also compile with -fno-omit-frame-pointer.

That said, you almost certainly want to be using backtrace(3) instead.



r~

Reply via email to