[fpc-devel] avr-gdb and dwarf 3
Christo Crause
christo.crause at gmail.com
Fri Jun 7 19:41:42 CEST 2019
On Fri, Jun 7, 2019 at 1:02 PM Dimitrios Chr. Ioannidis via fpc-devel <
fpc-devel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190607/9ffad7aa/attachment.html>
More information about the fpc-devel
mailing list