And when single-stepping this with gdb, the application terminates
(logging see below) when executing the throw.

        Danny

pavilion: {10} rsh ipaq /temp/gdbserver :9999 /temp/excepttest
Process /temp/excepttest created; pid = -1007952498
Listening on port 9999
Remote debugging from host 172.17.1.10
throw
terminate called after throwing an instance of 'Except'
warning: SuspendThread failed in thread_rec, (error 87): The parameter
is incorrect.

Child exited with status 0
GDBserver exiting
pavilion: {11} 

On Fri, 2009-05-15 at 10:56 +0200, Danny Backx wrote:
> I've added a line in the catch phrase to assess whether it gets there.
> 
> On ARM, the program doesn't cause the usual CE Error report, so I guess
> it doesn't really crash.
> 
> It never makes it into the catch part though - that statement never gets
> executed. I tried both with a printf statement like you did, and with a
> simple MessageBoxW call (to be sure no buffering issues would bother
> me).
> 
>       Danny
> 
> 
> On Fri, 2009-05-15 at 10:18 +0200, Johnny Willemsen wrote:
> > Hi,
> > 
> > > A small reproducer is attached, gives on our x86 target:
> > > throw
> > > terminate called after throwing an instance of 'Except'
> > 
> > The static method is not needed, just a throw from a C++ exception causes
> > the abort? Maybe some configuration setting is lacking. Can someone try the
> > same program with cegcc arm?
> > 
> > Johnny
> > 
> > 
> > ------------------------------------------------------------------------------
> > Crystal Reports - New Free Runtime and 30 Day Trial
> > Check out the new simplified licensing option that enables 
> > unlimited royalty-free distribution of the report engine 
> > for externally facing server and web deployment. 
> > http://p.sf.net/sfu/businessobjects
> > _______________________________________________
> > Cegcc-devel mailing list
> > Cegcc-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> > 
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to