public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] config.mk:Update DBGFLAGS with dwarf information
@ 2012-02-15  8:55 Prabhakar Kushwaha
  2012-04-25  4:11 ` Prabhakar Kushwaha
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Prabhakar Kushwaha @ 2012-02-15  8:55 UTC (permalink / raw)
  To: u-boot

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 <radu.lazarescu@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---
 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
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-10-15 23:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-15  8:55 [U-Boot] [PATCH] config.mk:Update DBGFLAGS with dwarf information Prabhakar Kushwaha
2012-04-25  4:11 ` Prabhakar Kushwaha
2012-05-24  4:43   ` Prabhakar Kushwaha
2012-05-24  4:47     ` Graeme Russ
     [not found]     ` <4FE00741.4040202@freescale.com>
2012-06-19  5:08       ` Prabhakar Kushwaha
2012-06-25  4:57         ` Prabhakar Kushwaha
2012-06-25  5:03           ` Graeme Russ
2012-06-25  7:21           ` Wolfgang Denk
2012-06-25  7:40             ` Prabhakar Kushwaha
2012-05-14  5:53 ` Mike Frysinger
2012-10-15 23:13 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox