[fpc-pascal] get_caller_frame
    Ryan Joseph 
    genericptr at gmail.com
       
    Thu Nov 21 19:43:42 CET 2019
    
    
  
> On Nov 21, 2019, at 1:41 AM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> No. On x86 it's essentially the content of the EBP/RBP register which is (assuming no optimizations are done) essentially the ESP/RSP register of the calling function. This is only used by the exception handling to have the exception appear to be raised somewhere else.
So what's missing then to be able make saving a stack frame to the heap and then restoring it?
Regards,
	Ryan Joseph
    
    
More information about the fpc-pascal
mailing list