On Fri, Jun 7, 2019 at 1:02 PM Dimitrios Chr. Ioannidis via fpc-devel < fpc-devel@lists.freepascal.org> wrote:
> AFAIU, you build the AVR RTL with dwarf 3 ( doesn't support dwarf 2 ) > if you want RTL debugging information. But, the avr-gdb ( at least the > latest 3.5.4.1709 from Microchip ( Atmel ) ) supports only dwarf 2. > > How can I debug the RTL ? > There are more recent versions on Microchip's website (3.6.2: https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers 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: https://sourceware.org/ml/gdb-patches/2016-03/msg00318.html.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel