Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 47246f4 in mainline for uspace/lib/libc/include/stacktrace.h


Ignore:
Timestamp:
2009-12-30T18:34:15Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
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/include/stacktrace.h

    ree2f1aae r47246f4  
    4040
    4141extern void stack_trace(void);
    42 extern void stack_trace_fp(uintptr_t);
     42extern void stack_trace_fp_pc(uintptr_t, uintptr_t);
    4343
    4444/*
     
    4949extern uintptr_t frame_pointer_prev(uintptr_t);
    5050extern uintptr_t return_address_get(uintptr_t);
     51extern uintptr_t program_counter_get();
    5152
    5253#endif
Note: See TracChangeset for help on using the changeset viewer.