Martin Husemann wrote:
On Mon, Mar 10, 2014 at 01:18:56PM +0100, rudolf wrote:
I am curious if this behavior of __builtin_frame_address() is expected.

Yes, calling it with args > 0 is not portable.

Right, but according to manpage, "in such cases a value 0 is returned". This seems not to be the case under NetBSD-6.1.3/amd64. Or am I missing something?

Thanks,

r.

Reply via email to