public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Bruce Cran <bruce@cran.org.uk>
To: Yonghong Zhu <yonghong.zhu@intel.com>, edk2-devel@lists.01.org
Cc: Laszlo Ersek <lersek@redhat.com>, Liming Gao <liming.gao@intel.com>
Subject: Re: [Patch] BaseTools: support the NOOPT target with the GCC tool chains
Date: Mon, 3 Oct 2016 10:11:09 -0600	[thread overview]
Message-ID: <90d6e612-54d5-bef5-2f49-e0bd3f90896e@cran.org.uk> (raw)
In-Reply-To: <1475221478-2252-1-git-send-email-yonghong.zhu@intel.com>

On 9/30/2016 1:44 AM, Yonghong Zhu wrote:
> Update the tools_def.template to add NOOPT support with GCC tool chains.

In the section "GCC Common" there's

DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG     = 
--add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug
RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG   =

A NOOPT line similar to the DEBUG one needs to be added for debugging to 
work.
I've verified that by adding it the reload-uefi command runs and 
single-stepping works.

-- 
Bruce


      parent reply	other threads:[~2016-10-03 16:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30  7:44 [Patch] BaseTools: support the NOOPT target with the GCC tool chains Yonghong Zhu
2016-09-30 10:11 ` Laszlo Ersek
2016-10-03  1:45   ` Bruce Cran
2016-10-03  8:59     ` Laszlo Ersek
2016-10-03 16:02       ` Bruce Cran
2016-10-03 16:09         ` Laszlo Ersek
2016-10-03 16:13           ` Bruce Cran
2016-10-03 16:53             ` Laszlo Ersek
2016-10-05  1:32               ` Zhu, Yonghong
2016-10-03 16:11 ` Bruce Cran [this message]

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-list 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=90d6e612-54d5-bef5-2f49-e0bd3f90896e@cran.org.uk \
    --to=devel@edk2.groups.io \
    /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