This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __register_frame and gdb


>>>>> H J Lu <hjl@lucon.org> writes:

> I don't see there is an easy fix since __register_frame () is called
> before main (). We can put init_malloc () in the .init section. But
> it has to be before __register_frame (). Can we put __register_frame ()
> in crtend.o?

No.  __register_frame needs to be called before any static constructors
that might throw exceptions.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]