Function backtrace in uboot
Hi,?
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
Quoted 5 lines · 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 myMakefilepath 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