
On Tue, 24 Oct 2006 14:59:40 +0200 Wolfgang Denk wd@denx.de wrote:
In message 20060906162239.3c815063@cad-250-152.norway.atmel.com you wrote:
In config.mk, -Wa,-gstabs is unconditionally appended to AFLAGS no matter what the target's preferred debugging format is. The AVR32 toolchain doesn't support the stabs debugging format at all, so this will obviously not work.
This patch replaces -gstabs with -g when compiling for AVR32, so that the default debugging format is used. Ulf Samuelsson reported problems on ARM when changing this unconditionally, so this patch has been updated to only change AVR32.
Previous identical patch already applied.
Not 100% identical...this one only makes a difference on AVR32, while the other one changes everyone to use -g. Ulf reported build problems on ARM with the other patch, so I made it conditional.
Sure you don't want this patch instead of the other one?
Haavard