[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Unable to debug code relocated with "-Ttext=" (e.g. bootl
From: |
Pieter Conradie |
Subject: |
[avr-gcc-list] Unable to debug code relocated with "-Ttext=" (e.g. bootloader) |
Date: |
Wed, 30 Mar 2005 10:01:41 +0200 |
AVR Studio and GDB/Insight is unable to debug code when it is relocated with
the linker option "-Ttext=0x1E000" for an ATmega128, e.g. when creating a
bootloader application.
This was experienced with WinAVR-20050214 and AVR Studio 4.11, by loading
dwarf-2 and stabs debug format (ELF and COFF).
I can verify that the code is correctly generated by inspecting the
dissassembly, but the C debugging info is mangled, e.g. the "main" starting
point is incorrectly displayed as "address@hidden: main", in stead of the
proper location of "0000F0B9".
Any workaround or linker switch that I should be aware of?
Regards,
Pieter
- [avr-gcc-list] Unable to debug code relocated with "-Ttext=" (e.g. bootloader),
Pieter Conradie <=