[DNX#2006033142000301] [U-Boot-Users] [PATCH] - request to change default [...]

DENX Support System support at denx.de
Fri Mar 31 23:50:12 CEST 2006


Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006033142000301] was created:

<snip>
> The default for the C portion of the u-boot compile is set to dwarf-2
> because the -g option for gcc 3.x defaults to dwarf-2, but the assembly
> portion is not.  
> 
> If possible, I would like to see the debug formats made consistent so as
> to allow the debugger to more reliably step through assembly source with
> gdb and other debuggers with the more modern dwarf2 debug format.  I
> have tested this change with gcc 3.4.3 on Arm9, MPC82xx, PPC85xx, PPC
> 40x and PPC 44x.  I also tested with ELDK 3.1.1 on all the PPC archs and
> it works quite well.
> 
> Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
> 
> diff --git a/config.mk b/config.mk
> --- a/config.mk
> +++ b/config.mk
> @@ -133,7 +133,7 @@ CFLAGS := $(CPPFLAGS) -Wall -Wno-trigrap
>  endif
>  endif
>  
> -AFLAGS_DEBUG := -Wa,-gstabs
> +AFLAGS_DEBUG := -Wa,-gdwarf2
>  AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
>  
>  LDFLAGS += -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE)
> $(PLATFORM_LDFLAGS)
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
> QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
</snip>

Your U-Boot support team




More information about the U-Boot mailing list