[fpc-devel] [AVR] Debugging objects
Christo Crause
christo.crause at gmail.com
Sun Sep 25 13:50:04 CEST 2022
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220925/a3df48a8/attachment.htm>
More information about the fpc-devel
mailing list