This is spooky. I edited startup.c slightly, recompiled the cegcc.dll . And then, apparently, something went wrong. Not a single application built with cegcc wants to run any more, the mingw32ce stuff does still work.
warning: __init_c__: initted = 1
warning: "WCETRACE" not found in registry
warning: "WCETRACE_DEBUGGER" not found in registry
gdb: unknown target exception 0x80000002 at 0x0174e718
Program received signal ?, Unknown signal.
0x0174e718 in ?? ()
(gdb)
Has anyone seen this before ? Any clues ?
Danny
On Fri, 2007-04-13 at 20:15 +0100, Pedro Alves wrote:
> 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
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
