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

Changeset 84b7384 in mainline


Ignore:
Timestamp:
2010-10-25T21:31:00Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
649efcd, e503d3a9
Parents:
619e2a6b
Message:

Use context_get_fp() to support platform-agnostic stack tracing using
information found in a context structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/fibril_synch.c

    r619e2a6b r84b7384  
    8383                if (oi->owned_by == f)
    8484                        break;
    85                 stacktrace_print_fp_pc(oi->owned_by->ctx.ebp,
     85                stacktrace_print_fp_pc(context_get_fp(&oi->owned_by->ctx),
    8686                    oi->owned_by->ctx.pc);
    8787                printf("Fibril %p waits for primitive %p.\n",
Note: See TracChangeset for help on using the changeset viewer.