On Nov 2, 2009, at 9:08 PM, David Young wrote: > Module Name: src > Committed By: dyoung > Date: Tue Nov 3 05:08:19 UTC 2009 > > Modified Files: > src/sys/arch/i386/i386: copy.S > Added Files: > src/share/man/man9/man9.i386: return_address.9 > src/sys/arch/i386/include: return.h > > Log Message: > Add return_address(9) for reading the Nth return address from the call > stack.
What's the intended usage? How is __builtin_return_address() not sufficient? > > > To generate a diff of this commit: > cvs rdiff -u -r0 -r1.1 src/share/man/man9/man9.i386/return_address.9 > cvs rdiff -u -r1.18 -r1.19 src/sys/arch/i386/i386/copy.S > cvs rdiff -u -r0 -r1.1 src/sys/arch/i386/include/return.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. -- thorpej