Danny Backx wrote:

> BTW, does anyone know how to trap events like these and get information
> on what went wrong ?
> 


SEH is one way.  Easier on eVC/MSVC since you have
__try/__catch/__finally there. With gcc you have to do it manually.
On ARM SEH is table based.  Take a look at
newlib/libc/sys/wince/crt0.S for an example.
Look for "kernel exception handler".  Probably easier is to
hack newlib/libc/sys/wince/startup.c:_eh_handler to dump the
exceptions.  That function is the top level handler on cegcc.
On mingw32ce there isn't any top level SEH handler installed.

Cheers,
Pedro Alves




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to