[U-Boot] config.mk:Update DBGFLAGS with dwarf information

Tom Rini trini at ti.com
Tue Oct 16 01:13:26 CEST 2012


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

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: <http://lists.denx.de/pipermail/u-boot/attachments/20121015/404f700f/attachment.pgp>


More information about the U-Boot mailing list