This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __register_frame and gdb
- To: hjl at lucon dot org (H.J. Lu), egcs at cygnus dot com
- Subject: Re: __register_frame and gdb
- From: Jason Merrill <jason at cygnus dot com>
- Date: 26 Nov 1997 00:57:15 -0800
- References: <m0xZRl5-0004efC.cygnus.egcs@ocean.lucon.org>
>>>>> 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