Dear tiger...@viatech.com.cn,

In message <fe7aded5c2218b4786c09cd97dc4c49f74c...@exchbj02.viatech.com.bj> you 
wrote:
>
> I have a JTAG debugger.

Congrats.

> Its manual suggested user should add "-gdwarf-2" option in the arm gcc
> compiler.
> Because it could produce debugging information.

Ah, so it is not a BDI3000... Well, good luck.

> But I searched the whole uboot source package, could not find
> "-gdwarf-2" option in config.mk or other files.
> 
> Why?

Because what may be needed ith your tools (and tool chain?) may not be
needed for everybody else?

Feel free to supply your own debug flags on the command line, i. e.
try something as   make DBGFLAGS="-gdwarf-2"

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
The universe is all a spin-off of the Big Bang.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to