On 2009-04-03 19:24:25 +0200, Christopher Wright <[email protected]> said:
Georg Wrede wrote:
Fawzi Mohamed wrote:
Well inlined functions will have no frame, also last call optimization
(tail optimization) removes the frame.
If I were to write a compiler, then using "-g -debug", etc. would make
sure neither happens!
However, closures in D1 have a stack frame that is within the creating
function's stack frame, and gdb assumes that means a corrupt stack.
There's no real way around this.
Now this is more clear, thanks!