From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prabhakar Kushwaha Date: Wed, 25 Apr 2012 09:41:24 +0530 Subject: [U-Boot] [PATCH] config.mk:Update DBGFLAGS with dwarf information In-Reply-To: <1329296131-28632-1-git-send-email-prabhakar@freescale.com> References: <1329296131-28632-1-git-send-email-prabhakar@freescale.com> Message-ID: <4F97796C.1080402@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, This patch has review-pending from a very long time. I request the "mailing-list" to review this patch. Regards, Prabhakar On Wednesday 15 February 2012 02:25 PM, Prabhakar Kushwaha wrote: > Built u-boot elf file does not contain any dwarf informations by default. This > information is required for debugging. > > Add dwarf ver 2 flag in DBGFLAGS. > > Signed-off-by: Radu Lazarescu > Signed-off-by: Prabhakar Kushwaha > --- > Applies on http://git.denx.de/u-boot.git branch master > > config.mk | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/config.mk b/config.mk > index ddaa477..11bc20d 100644 > --- a/config.mk > +++ b/config.mk > @@ -178,7 +178,7 @@ endif > # who are porting old code to latest mainline but not updating $(AR). > ARFLAGS = $(error update your Makefile to use cmd_link_o_target and not AR) > RELFLAGS= $(PLATFORM_RELFLAGS) > -DBGFLAGS= -g # -DDEBUG > +DBGFLAGS= -g -gdwarf-2 # -DDEBUG > OPTFLAGS= -Os #-fomit-frame-pointer > > OBJCFLAGS += --gap-fill=0xff