On Thu, Nov 21, 2013 at 1:20 AM, vijay nag <vijunag@xxxxxxxxx> wrote: > > I tried creating a small binary to demonstrate the problem that I had > been facing with my gcc-4.7.2 tool chain and glibc-2.17. The library > and binaries were created using exact CFLAGS, CXXFLAGS et al. > Strangely, the problem doesn't manifest in my example program :(. On > further hacking and debugging libgcc, I found that > _Unwind_RaiseException() was always "returning" in failure case with > return code _URC_END_OF_STACK. Does it mean that FDE is missing for > the function which is suppose to catch the exception ? How do I check > if an FDE exists for a particular function or not ? You can use readelf --debug=frames to examine the unwind information in an executable or object file. Ian