[U-Boot-Users] [PATCH 1/6] AVR32: Use -g instead of -gstabs in AFLAGS_DEBUG

Wolfgang Denk wd at denx.de
Tue Oct 24 14:59:40 CEST 2006


In message <20060906162239.3c815063 at 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.

Thanks.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Do not underestimate the value of print statements for debugging.
Don't have aesthetic convulsions when using them, either.




More information about the U-Boot mailing list