U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-boot]-gdwarf option
Date: Tue, 12 Feb 2013 12:02:43 -0500	[thread overview]
Message-ID: <20130212170243.GB26121@bill-the-cat> (raw)
In-Reply-To: <1360611812.8517.4@snotra>

On Mon, Feb 11, 2013 at 01:43:32PM -0600, Scott Wood wrote:

> 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?

Indeed.  For most common values of gcc versions, using -g will pick the
"best" choice for debug information and this will be DWARF2 information
already.  There is no need to specify -gdwarf-2 (or similar).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130212/4d24f0a9/attachment.pgp>

  reply	other threads:[~2013-02-12 17:02 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
2013-02-11 19:43     ` Scott Wood
2013-02-12 17:02       ` Tom Rini [this message]
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=20130212170243.GB26121@bill-the-cat \
    --to=trini@ti.com \
    --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