Re: [fpc-devel] AVR debug info - bug 0033914

2018-07-02 Thread Christo
On Mon, 2018-07-02 at 15:47 +0200, Joost van der Sluis wrote: > Op 30-06-18 om 21:51 schreef Christo: > > > > I'm trying to figure out how to fix bug 33914. This bug causes gdb to read > > variable > > addresses > > from flash, not RAM.  Looking at the DWARF info, the address of a variable > > i

Re: [fpc-devel] AVR debug info - bug 0033914

2018-07-02 Thread Joost van der Sluis
Op 30-06-18 om 21:51 schreef Christo: I'm trying to figure out how to fix bug 33914. This bug causes gdb to read variable addresses from flash, not RAM.  Looking at the DWARF info, the address of a variable is written as a word, while gdb expects a prefixed address ($80 + address) to indica