From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 15 Oct 2012 16:13:26 -0700 Subject: [U-Boot] 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: <20121015231326.GA13946@oliver-linux> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 14, 2012 at 10:55:31PM -0000, 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 For posterity, with any recent enough toolchain, this shouldn't be needed. -g picks the best available debug format and that will be DWARF v2 symbols (which gdb happily uses). -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: