Ignore:
Timestamp:
2009-12-30T00:33:22Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b2a5b41
Parents:
e84037f
Message:

Clear the %i7 register in the task and thread entry functions to stop tracing
the stack beyond those points. Note that %fp cannot be used for this purpose
because it always needs to be a valid stack pointer. Change
frame_pointer_validate() accordingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/sparc64/src/stacktrace.S

    re84037f r4074601  
    5151
    5252frame_pointer_validate:
    53         # Just return the frame address.
    54         retl
    55         nop
     53        #
     54        # Fall through - we detect the last frame in the trace by zero %i7.
     55        #
    5656
    5757return_address_get:
Note: See TracChangeset for help on using the changeset viewer.