[U-Boot] 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

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
participants (2)
-
Gigin Jose
-
Mike Frysinger