Changeset c83d2b4 in mainline


Ignore:
Timestamp:
2010-01-02T17:52:54Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c6d130c
Parents:
5434000
Message:

Support for stack traces on ppc32.

File:
1 edited

Legend:

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

    r5434000 rc83d2b4  
    3838
    3939frame_pointer_get:
     40        mr r3, sp
     41        blr
     42
    4043frame_pointer_prev:
     44        lwz r3, 0(r3)
     45        blr
     46
    4147frame_pointer_validate:
     48        blr
     49
    4250return_address_get:
     51        lwz r3, 4(r3)
     52        blr
     53
    4354program_counter_get:
    44         li r3, 0
     55        mflr r3
    4556        blr
Note: See TracChangeset for help on using the changeset viewer.