This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unwinding on Sparc/Solaris: MD_FALLBACK_FRAME_STATE_FOR
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 23 Jan 2003 23:51:31 -0500 (EST)
- Subject: Re: Unwinding on Sparc/Solaris: MD_FALLBACK_FRAME_STATE_FOR
On Thu, 23 Jan 2003, Geert Bosch wrote:
> I am trying to get GCC to correctly unwind through
> SPARC/Solaris signal frames. When the GCC unwinder encounters
> a frame without unwind info, it will execute the code
> given by the MD_FALLBACK_FRAME_STATE_FOR macro, which
> is not defined yet.
Aside from signal frames, I wonder if there's not enough information
in SPARC register windows to unwind anyway. The unwinder will always see
a DW_CFA_GNU_window_save instruction if the FDE is found. Maybe
MD_FALLBACK_FRAME_STATE_FOR could proceed assuming the window_save area is
present, and not worry about decoding signal frames.
Also look at what's done in libjava/include/sparc-signal.h.
Jeff