[Lazarus] heptrc

Martin lazarus at mfriebe.de
Wed Jun 13 14:32:24 CEST 2012

On 13/06/2012 13:22, Bernd wrote:
> 2012/6/13 Martin<lazarus at mfriebe.de>:
>> But, from looking at the assembler code, it seems that it does not setup a
>> stackframe as other code does. I **guess** the stuck dumpng code has a
>> problem with this minimal frame.
> If it omits the stackframe then something (probably the RTL) was
> compiled with optimizations turned on. I can reproduce it too with
> default settings but here are three simple steps how to get a complete
> backtrace:

The interesting point is, that if I step into reallocmem, GDB can 
display the correct stackframe.

But FPC skips one frame. And the strange thing is: FPC includes the 
frame (the address in the frame) that does not have the full stackframe 
code (push... / leave). But it excludes the frame that called this 
optimised frame.

More information about the Lazarus mailing list