public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-boot]-gdwarf option
Date: Thu, 07 Feb 2013 10:20:02 +0100	[thread overview]
Message-ID: <20130207092002.7AE38200565@gemini.denx.de> (raw)
In-Reply-To: <FE7ADED5C2218B4786C09CD97DC4C49F74C908@exchbj02.viatech.com.bj>

Dear TigerLiu at viatech.com.cn,

In message <FE7ADED5C2218B4786C09CD97DC4C49F74C908@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: wd at denx.de
The universe is all a spin-off of the Big Bang.

  reply	other threads:[~2013-02-07  9:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-05 13:37 [U-Boot] how to configure u-boot to tell me more about NAND flash? Robert P. J. Day
2013-02-05 14:05 ` Eric Bénard
2013-02-05 14:09   ` Robert P. J. Day
2013-02-05 15:48 ` Wolfgang Denk
2013-02-07  8:01   ` [U-Boot] [U-boot]-gdwarf option TigerLiu at viatech.com.cn
2013-02-07  9:20     ` Wolfgang Denk [this message]
2013-02-11 19:43     ` Scott Wood
2013-02-12 17:02       ` Tom Rini
2013-02-05 17:50 ` [U-Boot] how to configure u-boot to tell me more about NAND flash? Scott Wood
2013-02-05 17:59   ` Robert P. J. Day

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130207092002.7AE38200565@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox