<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2019 at 1:02 PM Dimitrios Chr. Ioannidis via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> AFAIU, you build the AVR RTL with dwarf 3 ( doesn't support dwarf 2 ) <br>
if you want RTL debugging information. But, the avr-gdb ( at least the <br>
latest 3.5.4.1709 from Microchip ( Atmel ) ) supports only dwarf 2.<br>
<br>
How can I debug the RTL ?<br></blockquote><div><br></div><div>There are more recent versions on Microchip's website (3.6.2: <a href="https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers">https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers</a> scroll down page). But even this has an old version of avr-gdb (7.8). Probably better to compile an 8.x version of gdb with this patch: <a href="https://sourceware.org/ml/gdb-patches/2016-03/msg00318.html">https://sourceware.org/ml/gdb-patches/2016-03/msg00318.html</a>.</div></div></div>