[fpc-devel] debug info for nested procedures
fpc at mfriebe.de
Wed Feb 10 18:31:13 CET 2016
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin i := i + 1; end;
i := 11;
Caption := IntToStr(i);
it appears that fpc now adds explicit debug info for "i" in the nested
procedure (dwarf and stabs)?
And when using dwarf also drop $parentfp ? (still there for stabs)
However I tested with gdb (win 32 bit 7.7.1 and 7.10) and both displayed
a wrong value.
Is there any gdb that can display this?
More information about the fpc-devel