[fpc-pascal] backtrace code in fpc
matiasevara at gmail.com
Mon Jul 17 22:58:31 CEST 2017
Hello everyone, I am trying to port the code for backtrace, e.g.,
GetLineInfo(), to my freepascal kernel in order to print a backtrace when
an exception happens. The drawback now is that I am not sure where the
source is. I think it is the unit lnfodwrf.pp however I am not sure. From
the code, it seems that this unit is opening the executable to get the
debug section, is this correct? is it not getting the name of the symbols
from memory? In my case, the debug symbols must be taken from memory since
there is no disk access.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal