------- Comment #8 from joel at gcc dot gnu dot org  2009-03-18 17:12 -------
(In reply to comment #7)
> > OK. I decided to look at this in more detail in the simulator.  The failing
> > instruction is:
> > 
> >  2001358:       d0 07 bf fc     ld  [ %fp + -4 ], %o0
> > 
> > and when I run with a breakpoint there, a dump of the registers shows that
> > fp is 0!!  When I try to step, it doesn't happen.  If I do a "watch $fp",
> > it never goes to 0 and runs correctly.
> 
> Looks like the current register window is not flushed before the setjmp.  You
> need to investigate whether traps work correctly on the simulator.
> 

I think I see this now.  It looks like "ta 3" is not flush on RTEMS.   I am
going to have to talk with some of the SPARC RTEMS folks to make sure and
address this one.  Leave it open.  I am reassigning this to me since it
looks RTEMS run-time specific.


-- 

joel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |joel at gcc dot gnu dot org
                   |dot org                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35180

Reply via email to