
16 Jul
2009
16 Jul
'09
5:36 p.m.
Mike Frysinger wrote:
i think calling raise/abort is already unreasonable for bare metal applications.
So how do you propose that illegal divide operations be reported to the application?
What is so unreasonable about having a function to print a message and dump registers?
You could even make it a weak symbol that stays at NULL, so any attempt to call it will trap that way (assuming NULL pointers are trapped in U-Boot on that architecture...).
-Scott