[U-Boot] [U-boot]-gdwarf option

Scott Wood scottwood at freescale.com
Mon Feb 11 20:43:32 CET 2013


On 02/07/2013 02:01:05 AM, TigerLiu at viatech.com.cn wrote:
> Hi, experts:
> I have a JTAG debugger.
> Its manual suggested user should add "-gdwarf-2" option in the arm gcc
> compiler.
> Because it could produce debugging information.
> 
> But I searched the whole uboot source package, could not find
> "-gdwarf-2" option in config.mk or other files.
> 
> Why?

I think it's already the default with most toolchains.  Do you see any  
difference in the output when supplying that flag?

-Scott


More information about the U-Boot mailing list