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]
Other format: [Raw text]

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


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