[fpc-devel] [AVR] Debugging objects
Dimitrios Chr. Ioannidis
d.ioannidis at nephelae.eu
Sun Sep 25 15:41:59 CEST 2022
Hi,
Στις 25/9/2022 2:50 μ.μ., ο/η Christo Crause έγραψε:
> On Sat, Sep 24, 2022 at 9:41 AM Dimitrios Chr. Ioannidis via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
> Hi,
>
> it seems that there is another DWARF bug regarding objects in
> units.
> 8<----------------------------
>
> (gdb) s
> UTESTOBJs_sTTESTOBJ_s__ss_DOSOMETHING () at utestobj.pas:16
> 16 x := 5;
> (gdb) print x
> No symbol "x" in current context.
>
>
> I can confirm the same problem with FPC main. The problem is also
> present in FPC 3.2.2 on Linux 64 bit. Looking at the debug info
> suggests that the information for the DoSomething method is omitted
> when declaring an object type, but with advanced records the method
> info is emitted.
I created a bug report,
https://gitlab.com/freepascal.org/fpc/source/-/issues/39920 .
regards,
--
Dimitrios Chr. Ioannidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220925/313a6a4b/attachment.htm>
More information about the fpc-devel
mailing list