mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-02 08:09:27 +01:00
Change ucontext_t to unw_context_t.
Change getcontext() to unw_getcontext(). (Logical change 1.33)
This commit is contained in:
parent
ad2276c314
commit
7776832389
1 changed files with 2 additions and 2 deletions
|
@ -53,9 +53,9 @@ stack trace:
|
|||
|
||||
unw_cursor_t cursor;
|
||||
unw_word_t ip, sp;
|
||||
ucontext_t uc;
|
||||
unw_context_t uc;
|
||||
|
||||
getcontext(&uc);
|
||||
unw_getcontext(&uc);
|
||||
unw_init_local(&cursor, &uc);
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue