[U-Boot] Function backtrace in uboot

Mike Frysinger vapier at gentoo.org
Mon Feb 28 18:47:29 CET 2011


On Saturday, February 26, 2011 05:12:25 Gigin Jose wrote:
> I would like to backtrace a function in uboot. The function
> " int backtrace (void **buffer, int size)"  uses header file
> "execinfo.h".  The header file is present inside my toolchain include
> folder. How can I add the include folder in my Makefile path so that I can
> use the functionality in the code. With RegardsGIGIN

there is no support in u-boot for this function.  simply mucking with the 
header wont change the missing implementation of the func itself.

that said, i cant see this being terribly useful in u-boot.  if you need a 
backtrace, then use gdb.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110228/fad5ccca/attachment.pgp 


More information about the U-Boot mailing list