Ignore:
Timestamp:
2009-12-30T18:34:15Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
01fda09
Parents:
ee2f1aae
Message:

Pair the stack frame address and the return address in a more meaningful way.
Also do the 'right' thing on sparc64 and recognize the end of the stack trace
by -0x7ff stored in %fp.

File:
1 edited

Legend:

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

    ree2f1aae r47246f4  
    3333.global frame_pointer_validate
    3434.global return_address_get
     35.global program_counter_get
    3536
    3637frame_pointer_get:
     
    4950        movq 8(%rdi), %rax
    5051        ret
     52
     53program_counter_get:
     54        movq (%rsp), %rax
     55        ret
Note: See TracChangeset for help on using the changeset viewer.