Issue with C++ exception handling with 4.6.2 release on PSIM BSP

Karel Gardas kgardas at objectsecurity.com
Mon Jan 10 15:14:57 UTC 2005


On Mon, 10 Jan 2005, Joel Sherrill <joel at OARcorp.com> wrote:

>
>
> Karel Gardas wrote:
> > Hello,
> >
> > after non-success with ARM/RTEMS, I'm trying to get C++ working for
> > PowerPC/RTEMS. Unfortunatelly it seems something is broken with exception
> > handling. I've slightly modified hello_world_c to:
>
> Everything has to be "just so" for exceptions to work.  It requires
> some magic in the bsp_specs and linkcmds.
>
> psim has had a lot of work since 4.6.2 and C++ exceptions should work
> now on the 4.6 branch.  It was converted from the old to the new
> exception model as part of fixing some outstanding issues like this
> one.
>
> If you REALLY want C++ exceptions with psim, then I suggestion you
> get the diff post 4.6.2 on the 4.6 branch from CVS.

Thanks, I'm going to try this, but just one question. Do I need to just
recompile latest rtems module, or should I also recompile my compiler
tool-chain (in case there are any required diffs in latest rtems?)?

Thanks,
Karel
--
Karel Gardas                  kgardas at objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com




More information about the users mailing list