From: Mike Frysinger Date: Mon, 28 Feb 2011 12:47:29 -0500 Subject: [U-Boot] Function backtrace in uboot In-Reply-To: <579142.35976.qm@web95504.mail.in.yahoo.com> References: <579142.35976.qm@web95504.mail.in.yahoo.com> Message-ID: <201102281247.29990.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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