From: Wolfgang Denk Date: Tue, 24 Oct 2006 14:59:40 +0200 Subject: [U-Boot-Users] [PATCH 1/6] AVR32: Use -g instead of -gstabs in AFLAGS_DEBUG In-Reply-To: Your message of "Wed, 06 Sep 2006 16:22:39 +0200." <20060906162239.3c815063@cad-250-152.norway.atmel.com> Message-ID: <20061024125940.C77923535EE@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. 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.