Hello everyone,

For reliable debugging I swapped from AS6 to gdb/avarice. It is gcc 4.7.2 and 
gdb 7.5 I'm using and an ICE3 which is running smoothly - more stable than AS6. 
Also compilation using make is much faster than AS6 on the same machine. 
Yesterday I found out a problem in the toolchain. If main() starts at 0x10000 
or later gdb accepts a breakpoint but did not stop at ANY breakpoint! To move 
main() below the 64k border would require to set all PROGMEMs into a separate 
segment, because they are shifting main to a high location.
The bad thing about it is AS6 does not have this breakpoint problem. As long as 
it is unclear which program is responsible for this problem Jörg will have a 
look to an avarice trace.

BTW: Does it make sense to have all PROGMEM variables as the first components 
to be set in the flash or shouldn't they be moved per default to the end of the 
text segment?

Cheers,
Knut




_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to