From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 07 Feb 2013 10:20:02 +0100 Subject: [U-Boot] [U-boot]-gdwarf option In-Reply-To: References: Message-ID: <20130207092002.7AE38200565@gemini.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 Dear TigerLiu at viatech.com.cn, In message 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: wd at denx.de The universe is all a spin-off of the Big Bang.