Re: C++ exception handling problem with GNU PPC‏

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/01/2010 02:43 PM, Oman Nadeem wrote:

> I am having a problem with exception handling for C++ on GNU PPC
> Tools (MPC8xx platform).
>  
> When I call "throw" from "try" block in my test application to raise
> an exception the control goes in the following way and traps into
> "abort" on returning NULL from _Unwind_Find_FDE function.
>  
>  __cxa_throw
>  __Unwind_RaiseException
>  uw_init_context_1
>  uw_frame_state_for
>  Unwind_Find_FDE ("seen_objects" and "unseen_objects" are NULL so return NULL)
>  
>  
> Am I missing any switch or initialization related to c++/exception
> handling?

No, this is one of the things that should "just work".  As long as
you're compling with g++, the right libraries and compile options will
be selected by default.  It may be that you have an incompatible set
of libraries installed, or that your compiler is broken.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux