Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src



   
   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?


it's also not well defined for N > 0 in most use-cases.


.mrg.


Home | Main Index | Thread Index | Old Index