Changeset b6e3ee54 in rtems


Ignore:
Timestamp:
Nov 3, 2005, 10:13:43 PM (14 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0ac68b0
Parents:
9a76deb5
Message:

2005-11-03 straumanatslacdotstanforddotedu

  • shared/vectors/vectors.S: when returning from an exception, reload stack pointer with value from exception frame instead of adding a fixed value. -- maybe the exception handler modified the frame with good reason (e.g., gdb pushed a dummy frame).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/vectors/vectors.S

    r9a76deb5 rb6e3ee54  
    153153
    154154        lwz     r3, GPR3_OFFSET(r1)
    155         addi    r1,r1, EXCEPTION_FRAME_END
     155        /* DONT add back the frame size but reload the value
     156         * stored in the frame -- maybe the exception handler
     157         * changed it with good reason (e.g., gdb pushed a dummy frame)
     158         */
     159        lwz r1, GPR1_OFFSET(r1)
    156160        SYNC
    157161        rfi
Note: See TracChangeset for help on using the changeset viewer.