[U-Boot-Users] How to debug u-boot?
Alessandro Rubini
rubini-list at gnudd.com
Fri Jun 6 08:07:22 CEST 2008
> I need help with debugging u-boot. If I comple u-Boot without -Os
> optimization, I get bunch of errors about missing functions.
gcc docs say:
GCC does not inline any functions when not optimizing unless you
specify the `always_inline' attribute for the function, like this:
[...]
I'm sorry you can't strip the "-Os", and you should debug the final
binary, despite all the reordering that takes place.
/alessandro
More information about the U-Boot
mailing list