<div dir="ltr"><div dir="ltr">On Wed, Feb 10, 2021 at 12:47 PM Dimitrios Chr. Ioannidis via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
   I read at compiler/systems/i_embed.pas the AVR systeminfo, is the <br>
only one that, has as default "dbg : dbg_dwarf3". The other embed <br>
systems that uses dwarf ( ARM, MIPSEL, i8086, m68k, RISCV32/64, XTENSA, <br>
Z80 ), all have as default "dbg : dbg_dwarf2".<br>
<br>
   The AVR has problems with dbg_dwarf2 ? If not, could you please <br>
change the AVR systeminfo to dwarf2 also for consistency ?<br></blockquote><div><br></div><div>That was a fix for compiling controller units with lots of symbols, refer to this discussion thread: <a href="https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg35416.html">https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg35416.html</a></div><div>Dwarf2 is fine in general, unless the address (I think address in dwarf debug section, the details are a bit hazy in my memory) of symbols exceed 65535. Dwarf3 offers a larger data type for this scenario.</div></div></div>